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

; 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::TPpContext" = type <{ ptr, %"class.glslang::TMap", %"class.glslang::TStringAtomMap", ptr, i32, [4 x i8], ptr, ptr, i32, i32, i32, [4 x i8], ptr, i32, [65 x i8], [3 x i8], i32, [4 x i8], %"class.std::vector.13", i8, i8, [6 x i8], ptr, i8, [7 x i8], %"class.std::__cxx11::basic_string.15", %"class.std::stack", %"class.std::__cxx11::basic_string.15", %"class.std::__cxx11::basic_istringstream", i8, [7 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<int, std::pair<const int, glslang::TPpContext::MacroSymbol>, std::_Select1st<std::pair<const int, glslang::TPpContext::MacroSymbol>>, std::less<int>, glslang::pool_allocator<std::pair<const int, glslang::TPpContext::MacroSymbol>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, glslang::TPpContext::MacroSymbol>, std::_Select1st<std::pair<const int, glslang::TPpContext::MacroSymbol>>, std::less<int>, glslang::pool_allocator<std::pair<const int, glslang::TPpContext::MacroSymbol>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator.4", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator.4" = 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::TStringAtomMap" = type { %"class.glslang::TUnorderedMap", %"class.glslang::TVector.8", i32, %"class.std::__cxx11::basic_string" }
%"class.glslang::TUnorderedMap" = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { %"struct.std::__detail::_Hashtable_alloc", ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hashtable_alloc" = type { %"struct.std::__detail::_Hashtable_ebo_helper.6" }
%"struct.std::__detail::_Hashtable_ebo_helper.6" = type { %"class.glslang::pool_allocator.7" }
%"class.glslang::pool_allocator.7" = type { ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.glslang::TVector.8" = type { %"class.std::vector.9" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *, glslang::pool_allocator<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *, glslang::pool_allocator<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *>>::_Vector_impl" = type { %"class.glslang::pool_allocator.11", %"struct.std::_Vector_base<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *, glslang::pool_allocator<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator.11" = type { ptr }
%"struct.std::_Vector_base<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *, glslang::pool_allocator<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>::_Alloc_hider" = type { %"class.glslang::pool_allocator.12", ptr }
%"class.glslang::pool_allocator.12" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<glslang::TPpContext::tInput *, std::allocator<glslang::TPpContext::tInput *>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TPpContext::tInput *, std::allocator<glslang::TPpContext::tInput *>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TPpContext::tInput *, std::allocator<glslang::TPpContext::tInput *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TPpContext::tInput *, std::allocator<glslang::TPpContext::tInput *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<glslang::TShader::Includer::IncludeResult *, std::allocator<glslang::TShader::Includer::IncludeResult *>>::_Deque_impl" }
%"struct.std::_Deque_base<glslang::TShader::Includer::IncludeResult *, std::allocator<glslang::TShader::Includer::IncludeResult *>>::_Deque_impl" = type { %"struct.std::_Deque_base<glslang::TShader::Includer::IncludeResult *, std::allocator<glslang::TShader::Includer::IncludeResult *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<glslang::TShader::Includer::IncludeResult *, std::allocator<glslang::TShader::Includer::IncludeResult *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::__cxx11::basic_string.15" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.19 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.19 = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_istringstream" = type { %"class.std::basic_istream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string.15" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.glslang::TPpToken" = type <{ %"struct.glslang::TSourceLoc", i8, [7 x i8], %union.anon.63, [1025 x i8], [7 x i8] }>
%"struct.glslang::TSourceLoc" = type { ptr, i32, i32, i32 }
%union.anon.63 = type { double }

@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, i32 noundef %1, ptr noundef %2) #1 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %13)
  store i32 %14, ptr %9, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %238, %45, %38, %3
  %16 = load i32, ptr %9, align 4, !tbaa !9
  %17 = icmp ne i32 %16, -1
  br i1 %17, label %18, label %239

18:                                               ; preds = %15
  %19 = load i32, ptr %9, align 4, !tbaa !9
  %20 = icmp ne i32 %19, 35
  br i1 %20, label %21, label %41

21:                                               ; preds = %18
  br label %22

22:                                               ; preds = %30, %21
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = icmp ne i32 %23, 10
  br i1 %24, label %25, label %28

25:                                               ; preds = %22
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = icmp ne i32 %26, -1
  br label %28

28:                                               ; preds = %25, %22
  %29 = phi i1 [ false, %22 ], [ %27, %25 ]
  br i1 %29, label %30, label %33

30:                                               ; preds = %28
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %31)
  store i32 %32, ptr %9, align 4, !tbaa !9
  br label %22, !llvm.loop !11

33:                                               ; preds = %28
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = icmp eq i32 %34, -1
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  %37 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %37, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %241

38:                                               ; preds = %33
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %39)
  store i32 %40, ptr %9, align 4, !tbaa !9
  br label %15, !llvm.loop !13

41:                                               ; preds = %18
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %42)
  store i32 %43, ptr %9, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 162
  br i1 %44, label %45, label %46

45:                                               ; preds = %41
  br label %15, !llvm.loop !13

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  %47 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 2
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.glslang::TPpToken", ptr %48, i32 0, i32 4
  %50 = getelementptr inbounds [1025 x i8], ptr %49, i64 0, i64 0
  %51 = call noundef i32 @_ZNK7glslang14TStringAtomMap7getAtomEPKc(ptr noundef nonnull align 8 dereferenceable(144) %47, ptr noundef %50)
  store i32 %51, ptr %11, align 4, !tbaa !9
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 165
  br i1 %53, label %60, label %54

54:                                               ; preds = %46
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = icmp eq i32 %55, 166
  br i1 %56, label %60, label %57

57:                                               ; preds = %54
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = icmp eq i32 %58, 167
  br i1 %59, label %60, label %86

60:                                               ; preds = %57, %54, %46
  %61 = load i32, ptr %8, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %8, align 4, !tbaa !9
  %63 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %64 = load i32, ptr %63, align 8, !tbaa !14
  %65 = icmp sge i32 %64, 65
  br i1 %65, label %70, label %66

66:                                               ; preds = %60
  %67 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %68 = load i32, ptr %67, align 8, !tbaa !65
  %69 = icmp sge i32 %68, 65
  br i1 %69, label %70, label %78

70:                                               ; preds = %66, %60
  %71 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 12
  %72 = load ptr, ptr %71, align 8, !tbaa !66
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.glslang::TPpToken", ptr %73, i32 0, i32 0
  %75 = load ptr, ptr %72, align 8, !tbaa !67
  %76 = getelementptr inbounds ptr, ptr %75, i64 44
  %77 = load ptr, ptr %76, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %77(ptr noundef nonnull align 8 dereferenceable(1176) %72, ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef @.str.13, ptr noundef @.str.14, ptr noundef @.str.2)
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %236

78:                                               ; preds = %66
  %79 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %80 = load i32, ptr %79, align 8, !tbaa !14
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %79, align 8, !tbaa !14
  %82 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %83 = load i32, ptr %82, align 8, !tbaa !65
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %82, align 8, !tbaa !65
  br label %85

85:                                               ; preds = %78
  br label %235

86:                                               ; preds = %57
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 170
  br i1 %88, label %89, label %120

89:                                               ; preds = %86
  %90 = load i32, ptr %11, align 4, !tbaa !9
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %92)
  %94 = call noundef i32 @_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi(ptr noundef nonnull align 8 dereferenceable(921) %12, i32 noundef %90, ptr noundef %91, i32 noundef %93)
  store i32 %94, ptr %9, align 4, !tbaa !9
  %95 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %96 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %97 = load i32, ptr %96, align 8, !tbaa !65
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [65 x i8], ptr %95, i64 0, i64 %98
  store i8 0, ptr %99, align 1, !tbaa !69
  %100 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %101 = load i32, ptr %100, align 8, !tbaa !65
  %102 = add nsw i32 %101, -1
  store i32 %102, ptr %100, align 8, !tbaa !65
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %105, label %114

105:                                              ; preds = %89
  %106 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %107 = load i32, ptr %106, align 8, !tbaa !14
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %105
  %110 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %111 = load i32, ptr %110, align 8, !tbaa !14
  %112 = add nsw i32 %111, -1
  store i32 %112, ptr %110, align 8, !tbaa !14
  br label %113

113:                                              ; preds = %109, %105
  store i32 3, ptr %10, align 4
  br label %236

114:                                              ; preds = %89
  %115 = load i32, ptr %8, align 4, !tbaa !9
  %116 = add nsw i32 %115, -1
  store i32 %116, ptr %8, align 4, !tbaa !9
  %117 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %118 = load i32, ptr %117, align 8, !tbaa !14
  %119 = add nsw i32 %118, -1
  store i32 %119, ptr %117, align 8, !tbaa !14
  br label %234

120:                                              ; preds = %86
  %121 = load i32, ptr %6, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %180

123:                                              ; preds = %120
  %124 = load i32, ptr %8, align 4, !tbaa !9
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %180

126:                                              ; preds = %123
  %127 = load i32, ptr %11, align 4, !tbaa !9
  %128 = icmp eq i32 %127, 168
  br i1 %128, label %129, label %140

129:                                              ; preds = %126
  %130 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %131 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %132 = load i32, ptr %131, align 8, !tbaa !65
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [65 x i8], ptr %130, i64 0, i64 %133
  store i8 1, ptr %134, align 1, !tbaa !69
  %135 = load i32, ptr %11, align 4, !tbaa !9
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %137)
  %139 = call noundef i32 @_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi(ptr noundef nonnull align 8 dereferenceable(921) %12, i32 noundef %135, ptr noundef %136, i32 noundef %138)
  store i32 %139, ptr %9, align 4, !tbaa !9
  store i32 3, ptr %10, align 4
  br label %236

140:                                              ; preds = %126
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = icmp eq i32 %141, 169
  br i1 %142, label %143, label %178

143:                                              ; preds = %140
  %144 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %145 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %146 = load i32, ptr %145, align 8, !tbaa !65
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [65 x i8], ptr %144, i64 0, i64 %147
  %149 = load i8, ptr %148, align 1, !tbaa !69, !range !70, !noundef !71
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %159

151:                                              ; preds = %143
  %152 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 12
  %153 = load ptr, ptr %152, align 8, !tbaa !66
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %"class.glslang::TPpToken", ptr %154, i32 0, i32 0
  %156 = load ptr, ptr %153, align 8, !tbaa !67
  %157 = getelementptr inbounds ptr, ptr %156, i64 44
  %158 = load ptr, ptr %157, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %158(ptr noundef nonnull align 8 dereferenceable(1176) %153, ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.2)
  br label %159

159:                                              ; preds = %151, %143
  %160 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %161 = load i32, ptr %160, align 8, !tbaa !14
  %162 = icmp sgt i32 %161, 0
  br i1 %162, label %163, label %175

163:                                              ; preds = %159
  %164 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 13
  %165 = load i32, ptr %164, align 8, !tbaa !14
  %166 = add nsw i32 %165, -1
  store i32 %166, ptr %164, align 8, !tbaa !14
  %167 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %168 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %169 = load i32, ptr %168, align 8, !tbaa !65
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [65 x i8], ptr %167, i64 0, i64 %170
  store i8 0, ptr %171, align 1, !tbaa !69
  %172 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %173 = load i32, ptr %172, align 8, !tbaa !65
  %174 = add nsw i32 %173, -1
  store i32 %174, ptr %172, align 8, !tbaa !65
  br label %175

175:                                              ; preds = %163, %159
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = call noundef i32 @_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %176)
  store i32 %177, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %236

178:                                              ; preds = %140
  br label %179

179:                                              ; preds = %178
  br label %233

180:                                              ; preds = %123, %120
  %181 = load i32, ptr %11, align 4, !tbaa !9
  %182 = icmp eq i32 %181, 168
  br i1 %182, label %183, label %211

183:                                              ; preds = %180
  %184 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %185 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %186 = load i32, ptr %185, align 8, !tbaa !65
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [65 x i8], ptr %184, i64 0, i64 %187
  %189 = load i8, ptr %188, align 1, !tbaa !69, !range !70, !noundef !71
  %190 = trunc i8 %189 to i1
  br i1 %190, label %191, label %199

191:                                              ; preds = %183
  %192 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 12
  %193 = load ptr, ptr %192, align 8, !tbaa !66
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %"class.glslang::TPpToken", ptr %194, i32 0, i32 0
  %196 = load ptr, ptr %193, align 8, !tbaa !67
  %197 = getelementptr inbounds ptr, ptr %196, i64 44
  %198 = load ptr, ptr %197, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %198(ptr noundef nonnull align 8 dereferenceable(1176) %193, ptr noundef nonnull align 8 dereferenceable(24) %195, ptr noundef @.str.17, ptr noundef @.str.18, ptr noundef @.str.2)
  br label %205

199:                                              ; preds = %183
  %200 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %201 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %202 = load i32, ptr %201, align 8, !tbaa !65
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [65 x i8], ptr %200, i64 0, i64 %203
  store i8 1, ptr %204, align 1, !tbaa !69
  br label %205

205:                                              ; preds = %199, %191
  %206 = load i32, ptr %11, align 4, !tbaa !9
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %12, ptr noundef %208)
  %210 = call noundef i32 @_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi(ptr noundef nonnull align 8 dereferenceable(921) %12, i32 noundef %206, ptr noundef %207, i32 noundef %209)
  store i32 %210, ptr %9, align 4, !tbaa !9
  br label %232

211:                                              ; preds = %180
  %212 = load i32, ptr %11, align 4, !tbaa !9
  %213 = icmp eq i32 %212, 169
  br i1 %213, label %214, label %231

214:                                              ; preds = %211
  %215 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 14
  %216 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 16
  %217 = load i32, ptr %216, align 8, !tbaa !65
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [65 x i8], ptr %215, i64 0, i64 %218
  %220 = load i8, ptr %219, align 1, !tbaa !69, !range !70, !noundef !71
  %221 = trunc i8 %220 to i1
  br i1 %221, label %222, label %230

222:                                              ; preds = %214
  %223 = getelementptr inbounds %"class.glslang::TPpContext", ptr %12, i32 0, i32 12
  %224 = load ptr, ptr %223, align 8, !tbaa !66
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %"class.glslang::TPpToken", ptr %225, i32 0, i32 0
  %227 = load ptr, ptr %224, align 8, !tbaa !67
  %228 = getelementptr inbounds ptr, ptr %227, i64 44
  %229 = load ptr, ptr %228, align 8
  call void (ptr, ptr, ptr, ptr, ptr, ...) %229(ptr noundef nonnull align 8 dereferenceable(1176) %224, ptr noundef nonnull align 8 dereferenceable(24) %226, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.2)
  br label %230

230:                                              ; preds = %222, %214
  br label %231

231:                                              ; preds = %230, %211
  br label %232

232:                                              ; preds = %231, %205
  br label %233

233:                                              ; preds = %232, %179
  br label %234

234:                                              ; preds = %233, %114
  br label %235

235:                                              ; preds = %234, %85
  store i32 0, ptr %10, align 4
  br label %236

236:                                              ; preds = %235, %175, %129, %113, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  %237 = load i32, ptr %10, align 4
  switch i32 %237, label %241 [
    i32 0, label %238
    i32 3, label %239
  ]

238:                                              ; preds = %236
  br label %15, !llvm.loop !13

239:                                              ; preds = %236, %15
  %240 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %240, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %241

241:                                              ; preds = %239, %236, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  %242 = load i32, ptr %4, align 4
  ret i32 %242
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !10, i64 264}
!15 = !{!"_ZTSN7glslang10TPpContextE", !16, i64 8, !27, i64 64, !6, i64 208, !10, i64 216, !6, i64 224, !6, i64 232, !10, i64 240, !10, i64 244, !10, i64 248, !6, i64 256, !10, i64 264, !7, i64 268, !10, i64 336, !46, i64 344, !50, i64 368, !50, i64 369, !6, i64 376, !50, i64 384, !51, i64 392, !53, i64 424, !51, i64 504, !59, i64 536, !50, i64 920}
!16 = !{!"_ZTSN7glslang4TMapIiNS_10TPpContext11MacroSymbolESt4lessIiEEE", !17, i64 0}
!17 = !{!"_ZTSSt3mapIiN7glslang10TPpContext11MacroSymbolESt4lessIiENS0_14pool_allocatorISt4pairIKiS2_EEEE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiN7glslang10TPpContext11MacroSymbolEESt10_Select1stIS5_ESt4lessIiENS2_14pool_allocatorIS5_EEE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiN7glslang10TPpContext11MacroSymbolEESt10_Select1stIS5_ESt4lessIiENS2_14pool_allocatorIS5_EEE13_Rb_tree_implIS9_Lb1EEE", !20, i64 0, !21, i64 8, !23, i64 16}
!20 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKiNS_10TPpContext11MacroSymbolEEEEE", !6, i64 0}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !22, i64 0}
!22 = !{!"_ZTSSt4lessIiE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !26, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSN7glslang14TStringAtomMapE", !28, i64 0, !37, i64 64, !10, i64 96, !43, i64 104}
!28 = !{!"_ZTSN7glslang13TUnorderedMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEiSt4hashIS7_ESt8equal_toIS7_EEE", !29, i64 0}
!29 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4hashIS7_ESt8equal_toIS7_ENS5_ISt4pairIKS7_iEEEE", !30, i64 0}
!30 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_iENS5_ISA_EENSt8__detail10_Select1stESt8equal_toIS7_ESt4hashIS7_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !31, i64 0, !6, i64 8, !26, i64 16, !34, i64 24, !26, i64 32, !35, i64 40, !6, i64 56}
!31 = !{!"_ZTSNSt8__detail16_Hashtable_allocIN7glslang14pool_allocatorINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS2_IcEEEEiELb1EEEEEEE", !32, i64 0}
!32 = !{!"_ZTSNSt8__detail21_Hashtable_ebo_helperILi0EN7glslang14pool_allocatorINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS2_IcEEEEiELb1EEEEELb0EEE", !33, i64 0}
!33 = !{!"_ZTSN7glslang14pool_allocatorINSt8__detail10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEiELb1EEEEE", !6, i64 0}
!34 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!35 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !36, i64 0, !26, i64 8}
!36 = !{!"float", !7, i64 0}
!37 = !{!"_ZTSN7glslang7TVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEEE", !38, i64 0}
!38 = !{!"_ZTSSt6vectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE12_Vector_implE", !41, i64 0, !42, i64 8}
!41 = !{!"_ZTSN7glslang14pool_allocatorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEEE", !6, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEE", !44, i64 0, !26, i64 16, !7, i64 24}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE12_Alloc_hiderE", !45, i64 0, !6, i64 8}
!45 = !{!"_ZTSN7glslang14pool_allocatorIcEE", !6, i64 0}
!46 = !{!"_ZTSSt6vectorIPN7glslang10TPpContext6tInputESaIS3_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIPN7glslang10TPpContext6tInputESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIPN7glslang10TPpContext6tInputESaIS3_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN7glslang10TPpContext6tInputESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"bool", !7, i64 0}
!51 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !52, i64 0, !26, i64 8, !7, i64 16}
!52 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!53 = !{!"_ZTSSt5stackIPN7glslang7TShader8Includer13IncludeResultESt5dequeIS4_SaIS4_EEE", !54, i64 0}
!54 = !{!"_ZTSSt5dequeIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE", !55, i64 0}
!55 = !{!"_ZTSSt11_Deque_baseIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE", !56, i64 0}
!56 = !{!"_ZTSNSt11_Deque_baseIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE11_Deque_implE", !57, i64 0}
!57 = !{!"_ZTSNSt11_Deque_baseIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE16_Deque_impl_dataE", !6, i64 0, !26, i64 8, !58, i64 16, !58, i64 48}
!58 = !{!"_ZTSSt15_Deque_iteratorIPN7glslang7TShader8Includer13IncludeResultERS4_PS4_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!59 = !{!"_ZTSNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE", !60, i64 0, !61, i64 16}
!60 = !{!"_ZTSSi", !26, i64 8}
!61 = !{!"_ZTSNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", !62, i64 0, !64, i64 64, !51, i64 72}
!62 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !63, i64 56}
!63 = !{!"_ZTSSt6locale", !6, i64 0}
!64 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!65 = !{!15, !10, i64 336}
!66 = !{!15, !6, i64 256}
!67 = !{!68, !68, i64 0}
!68 = !{!"vtable pointer", !8, i64 0}
!69 = !{!50, !50, i64 0}
!70 = !{i8 0, i8 2}
!71 = !{}


; 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.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 align 2 {
  %4 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = getelementptr inbounds i8, ptr %2, i64 40
  %7 = icmp ne i32 %1, 0
  %8 = getelementptr inbounds i8, ptr %0, i64 268
  %9 = getelementptr inbounds i8, ptr %0, i64 336
  %10 = getelementptr inbounds i8, ptr %0, i64 256
  %11 = getelementptr inbounds i8, ptr %0, i64 264
  br label %.outer.outer

.outer.outer:                                     ; preds = %.outer.outer.backedge, %3
  %.050.ph.ph = phi i32 [ 0, %3 ], [ %.050.ph.ph.be, %.outer.outer.backedge ]
  %.047.ph.ph = phi i32 [ %4, %3 ], [ %.047.ph.ph.be, %.outer.outer.backedge ]
  %12 = icmp eq i32 %.050.ph.ph, 0
  %or.cond5 = select i1 %7, i1 %12, i1 false
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %.outer.outer
  %.047.ph = phi i32 [ %.047.ph.ph, %.outer.outer ], [ %.047.ph.be, %.outer.backedge ]
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %.outer
  %.047 = phi i32 [ %.047.ph, %.outer ], [ %.047.be, %.backedge.backedge ]
  switch i32 %.047, label %.preheader [
    i32 -1, label %.thread67
    i32 35, label %17
  ]

.preheader:                                       ; preds = %.backedge, %13
  %.148 = phi i32 [ %14, %13 ], [ %.047, %.backedge ]
  switch i32 %.148, label %13 [
    i32 -1, label %.thread67
    i32 10, label %15
  ]

13:                                               ; preds = %.preheader
  %14 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  br label %.preheader, !llvm.loop !5

15:                                               ; preds = %.preheader
  %16 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  br label %.backedge.backedge

.backedge.backedge:                               ; preds = %15, %17
  %.047.be = phi i32 [ %16, %15 ], [ %18, %17 ]
  br label %.backedge, !llvm.loop !7

17:                                               ; preds = %.backedge
  %18 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  %.not60 = icmp eq i32 %18, 162
  br i1 %.not60, label %19, label %.backedge.backedge

19:                                               ; preds = %17
  %20 = tail call noundef i32 @_ZNK7glslang14TStringAtomMap7getAtomEPKc(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %6)
  %21 = add i32 %20, -165
  %or.cond3 = icmp ult i32 %21, 3
  br i1 %or.cond3, label %22, label %37

22:                                               ; preds = %19
  %23 = add nsw i32 %.050.ph.ph, 1
  %24 = load i32, ptr %11, align 8, !tbaa !8
  %25 = icmp sgt i32 %24, 64
  br i1 %25, label %29, label %26

26:                                               ; preds = %22
  %27 = load i32, ptr %9, align 8, !tbaa !63
  %28 = icmp sgt i32 %27, 64
  br i1 %28, label %29, label %34

29:                                               ; preds = %26, %22
  %30 = load ptr, ptr %10, align 8, !tbaa !64
  %31 = load ptr, ptr %30, align 8, !tbaa !65
  %32 = getelementptr inbounds i8, ptr %31, i64 352
  %33 = load ptr, ptr %32, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %33(ptr noundef nonnull align 8 dereferenceable(1176) %30, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2)
  br label %.thread67

34:                                               ; preds = %26
  %35 = add nsw i32 %24, 1
  store i32 %35, ptr %11, align 8, !tbaa !8
  %36 = add nsw i32 %27, 1
  store i32 %36, ptr %9, align 8, !tbaa !63
  br label %.outer.outer.backedge

.outer.outer.backedge:                            ; preds = %34, %52, %57
  %.050.ph.ph.be = phi i32 [ 0, %57 ], [ %53, %52 ], [ %23, %34 ]
  %.047.ph.ph.be = phi i32 [ 162, %57 ], [ %41, %52 ], [ 162, %34 ]
  br label %.outer.outer

37:                                               ; preds = %19
  %38 = icmp eq i32 %20, 170
  br i1 %38, label %39, label %56

39:                                               ; preds = %37
  %40 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  %41 = tail call noundef i32 @_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi(ptr noundef nonnull align 8 dereferenceable(921) %0, i32 noundef 170, ptr noundef %2, i32 noundef %40)
  %42 = load i32, ptr %9, align 8, !tbaa !63
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [65 x i8], ptr %8, i64 0, i64 %43
  store i8 0, ptr %44, align 1, !tbaa !67
  %45 = add nsw i32 %42, -1
  store i32 %45, ptr %9, align 8, !tbaa !63
  %46 = icmp eq i32 %.050.ph.ph, 0
  br i1 %46, label %47, label %52

47:                                               ; preds = %39
  %48 = load i32, ptr %11, align 8, !tbaa !8
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %50, label %.thread67

50:                                               ; preds = %47
  %51 = add nsw i32 %48, -1
  store i32 %51, ptr %11, align 8, !tbaa !8
  br label %.thread67

52:                                               ; preds = %39
  %53 = add nsw i32 %.050.ph.ph, -1
  %54 = load i32, ptr %11, align 8, !tbaa !8
  %55 = add nsw i32 %54, -1
  store i32 %55, ptr %11, align 8, !tbaa !8
  br label %.outer.outer.backedge

56:                                               ; preds = %37
  br i1 %or.cond5, label %57, label %86

57:                                               ; preds = %56
  switch i32 %20, label %.outer.outer.backedge [
    i32 168, label %58
    i32 169, label %64
  ]

58:                                               ; preds = %57
  %59 = load i32, ptr %9, align 8, !tbaa !63
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [65 x i8], ptr %8, i64 0, i64 %60
  store i8 1, ptr %61, align 1, !tbaa !67
  %62 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  %63 = tail call noundef i32 @_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi(ptr noundef nonnull align 8 dereferenceable(921) %0, i32 noundef 168, ptr noundef %2, i32 noundef %62)
  br label %.thread67

64:                                               ; preds = %57
  %65 = load i32, ptr %9, align 8, !tbaa !63
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [65 x i8], ptr %8, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !67, !range !68, !noundef !69
  %69 = trunc nuw i8 %68 to i1
  br i1 %69, label %70, label %75

70:                                               ; preds = %64
  %71 = load ptr, ptr %10, align 8, !tbaa !64
  %72 = load ptr, ptr %71, align 8, !tbaa !65
  %73 = getelementptr inbounds i8, ptr %72, i64 352
  %74 = load ptr, ptr %73, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %74(ptr noundef nonnull align 8 dereferenceable(1176) %71, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2)
  br label %75

75:                                               ; preds = %70, %64
  %76 = load i32, ptr %11, align 8, !tbaa !8
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %78, label %84

78:                                               ; preds = %75
  %79 = add nsw i32 %76, -1
  store i32 %79, ptr %11, align 8, !tbaa !8
  %80 = load i32, ptr %9, align 8, !tbaa !63
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [65 x i8], ptr %8, i64 0, i64 %81
  store i8 0, ptr %82, align 1, !tbaa !67
  %83 = add nsw i32 %80, -1
  store i32 %83, ptr %9, align 8, !tbaa !63
  br label %84

84:                                               ; preds = %78, %75
  %85 = tail call noundef i32 @_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  br label %.thread67

86:                                               ; preds = %56
  switch i32 %20, label %.outer.backedge [
    i32 168, label %87
    i32 169, label %102
  ]

87:                                               ; preds = %86
  %88 = load i32, ptr %9, align 8, !tbaa !63
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [65 x i8], ptr %8, i64 0, i64 %89
  %91 = load i8, ptr %90, align 1, !tbaa !67, !range !68, !noundef !69
  %92 = trunc nuw i8 %91 to i1
  br i1 %92, label %93, label %98

93:                                               ; preds = %87
  %94 = load ptr, ptr %10, align 8, !tbaa !64
  %95 = load ptr, ptr %94, align 8, !tbaa !65
  %96 = getelementptr inbounds i8, ptr %95, i64 352
  %97 = load ptr, ptr %96, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %97(ptr noundef nonnull align 8 dereferenceable(1176) %94, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2)
  br label %99

98:                                               ; preds = %87
  store i8 1, ptr %90, align 1, !tbaa !67
  br label %99

99:                                               ; preds = %98, %93
  %100 = tail call noundef i32 @_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921) %0, ptr noundef %2)
  %101 = tail call noundef i32 @_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi(ptr noundef nonnull align 8 dereferenceable(921) %0, i32 noundef 168, ptr noundef %2, i32 noundef %100)
  br label %.outer.backedge

102:                                              ; preds = %86
  %103 = load i32, ptr %9, align 8, !tbaa !63
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [65 x i8], ptr %8, i64 0, i64 %104
  %106 = load i8, ptr %105, align 1, !tbaa !67, !range !68, !noundef !69
  %107 = trunc nuw i8 %106 to i1
  br i1 %107, label %108, label %.outer.backedge

108:                                              ; preds = %102
  %109 = load ptr, ptr %10, align 8, !tbaa !64
  %110 = load ptr, ptr %109, align 8, !tbaa !65
  %111 = getelementptr inbounds i8, ptr %110, i64 352
  %112 = load ptr, ptr %111, align 8
  tail call void (ptr, ptr, ptr, ptr, ptr, ...) %112(ptr noundef nonnull align 8 dereferenceable(1176) %109, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2)
  br label %.outer.backedge

.outer.backedge:                                  ; preds = %108, %102, %99, %86
  %.047.ph.be = phi i32 [ %101, %99 ], [ 162, %108 ], [ 162, %102 ], [ 162, %86 ]
  br label %.outer

.thread67:                                        ; preds = %.backedge, %.preheader, %84, %29, %47, %50, %58
  %.2 = phi i32 [ %41, %47 ], [ %41, %50 ], [ %63, %58 ], [ %85, %84 ], [ -1, %29 ], [ %.148, %.preheader ], [ %.047, %.backedge ]
  ret i32 %.2
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE(ptr noundef nonnull align 8 dereferenceable(921), ptr 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" }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !40, i64 264}
!9 = !{!"_ZTSN7glslang10TPpContextE", !10, i64 8, !24, i64 64, !15, i64 208, !40, i64 216, !15, i64 224, !15, i64 232, !40, i64 240, !40, i64 244, !40, i64 248, !15, i64 256, !40, i64 264, !16, i64 268, !40, i64 336, !44, i64 344, !48, i64 368, !48, i64 369, !15, i64 376, !48, i64 384, !49, i64 392, !51, i64 424, !49, i64 504, !57, i64 536, !48, i64 920}
!10 = !{!"_ZTSN7glslang4TMapIiNS_10TPpContext11MacroSymbolESt4lessIiEEE", !11, i64 0}
!11 = !{!"_ZTSSt3mapIiN7glslang10TPpContext11MacroSymbolESt4lessIiENS0_14pool_allocatorISt4pairIKiS2_EEEE", !12, i64 0}
!12 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiN7glslang10TPpContext11MacroSymbolEESt10_Select1stIS5_ESt4lessIiENS2_14pool_allocatorIS5_EEE", !13, i64 0}
!13 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiN7glslang10TPpContext11MacroSymbolEESt10_Select1stIS5_ESt4lessIiENS2_14pool_allocatorIS5_EEE13_Rb_tree_implIS9_Lb1EEE", !14, i64 0, !18, i64 8, !20, i64 16}
!14 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKiNS_10TPpContext11MacroSymbolEEEEE", !15, i64 0}
!15 = !{!"any pointer", !16, i64 0}
!16 = !{!"omnipotent char", !17, i64 0}
!17 = !{!"Simple C++ TBAA"}
!18 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !19, i64 0}
!19 = !{!"_ZTSSt4lessIiE"}
!20 = !{!"_ZTSSt15_Rb_tree_header", !21, i64 0, !23, i64 32}
!21 = !{!"_ZTSSt18_Rb_tree_node_base", !22, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!22 = !{!"_ZTSSt14_Rb_tree_color", !16, i64 0}
!23 = !{!"long", !16, i64 0}
!24 = !{!"_ZTSN7glslang14TStringAtomMapE", !25, i64 0, !34, i64 64, !40, i64 96, !41, i64 104}
!25 = !{!"_ZTSN7glslang13TUnorderedMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEiSt4hashIS7_ESt8equal_toIS7_EEE", !26, i64 0}
!26 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEiSt4hashIS7_ESt8equal_toIS7_ENS5_ISt4pairIKS7_iEEEE", !27, i64 0}
!27 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_iENS5_ISA_EENSt8__detail10_Select1stESt8equal_toIS7_ESt4hashIS7_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !28, i64 0, !15, i64 8, !23, i64 16, !31, i64 24, !23, i64 32, !32, i64 40, !15, i64 56}
!28 = !{!"_ZTSNSt8__detail16_Hashtable_allocIN7glslang14pool_allocatorINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS2_IcEEEEiELb1EEEEEEE", !29, i64 0}
!29 = !{!"_ZTSNSt8__detail21_Hashtable_ebo_helperILi0EN7glslang14pool_allocatorINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS2_IcEEEEiELb1EEEEELb0EEE", !30, i64 0}
!30 = !{!"_ZTSN7glslang14pool_allocatorINSt8__detail10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEiELb1EEEEE", !15, i64 0}
!31 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !15, i64 0}
!32 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !33, i64 0, !23, i64 8}
!33 = !{!"float", !16, i64 0}
!34 = !{!"_ZTSN7glslang7TVectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEEE", !35, i64 0}
!35 = !{!"_ZTSSt6vectorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE12_Vector_implE", !38, i64 0, !39, i64 8}
!38 = !{!"_ZTSN7glslang14pool_allocatorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEEE", !15, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS5_IS9_EEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!40 = !{!"int", !16, i64 0}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEE", !42, i64 0, !23, i64 16, !16, i64 24}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEE12_Alloc_hiderE", !43, i64 0, !15, i64 8}
!43 = !{!"_ZTSN7glslang14pool_allocatorIcEE", !15, i64 0}
!44 = !{!"_ZTSSt6vectorIPN7glslang10TPpContext6tInputESaIS3_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIPN7glslang10TPpContext6tInputESaIS3_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN7glslang10TPpContext6tInputESaIS3_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIPN7glslang10TPpContext6tInputESaIS3_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!48 = !{!"bool", !16, i64 0}
!49 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !50, i64 0, !23, i64 8, !16, i64 16}
!50 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!51 = !{!"_ZTSSt5stackIPN7glslang7TShader8Includer13IncludeResultESt5dequeIS4_SaIS4_EEE", !52, i64 0}
!52 = !{!"_ZTSSt5dequeIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE", !53, i64 0}
!53 = !{!"_ZTSSt11_Deque_baseIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE", !54, i64 0}
!54 = !{!"_ZTSNSt11_Deque_baseIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE11_Deque_implE", !55, i64 0}
!55 = !{!"_ZTSNSt11_Deque_baseIPN7glslang7TShader8Includer13IncludeResultESaIS4_EE16_Deque_impl_dataE", !15, i64 0, !23, i64 8, !56, i64 16, !56, i64 48}
!56 = !{!"_ZTSSt15_Deque_iteratorIPN7glslang7TShader8Includer13IncludeResultERS4_PS4_E", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!57 = !{!"_ZTSNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE", !58, i64 0, !59, i64 16}
!58 = !{!"_ZTSSi", !23, i64 8}
!59 = !{!"_ZTSNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE", !60, i64 0, !62, i64 64, !49, i64 72}
!60 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !61, i64 56}
!61 = !{!"_ZTSSt6locale", !15, i64 0}
!62 = !{!"_ZTSSt13_Ios_Openmode", !16, i64 0}
!63 = !{!9, !40, i64 336}
!64 = !{!9, !15, i64 256}
!65 = !{!66, !66, i64 0}
!66 = !{!"vtable pointer", !17, i64 0}
!67 = !{!48, !48, i64 0}
!68 = !{i8 0, i8 2}
!69 = !{}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass