; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/glslang/HLSL (hlslScanContext)

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

%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::__detail::_Node_iterator.105" = type { %"struct.std::__detail::_Node_iterator_base.106" }
%"struct.std::__detail::_Node_iterator_base.106" = type { ptr }
%"class.glslang::HlslScanContext" = type <{ ptr, ptr, ptr, %"struct.glslang::TSourceLoc", ptr, ptr, ptr, i32, [4 x i8] }>
%"struct.glslang::TSourceLoc" = type { ptr, i32, i32, i32 }
%"struct.std::pair.107" = type <{ ptr, i32, [4 x i8] }>
%"struct.glslang::HlslToken" = type { %"struct.glslang::TSourceLoc", i32, %union.anon }
%union.anon = type { ptr }
%"class.glslang::TParseVersions" = type { ptr, i8, i32, ptr, i32, i32, %"struct.glslang::SpvVersion", ptr, %"class.glslang::TMap.65", %"class.glslang::TMap.70", i32, i32, ptr }
%"struct.glslang::SpvVersion" = type <{ i32, i32, i32, i32, i8, [3 x i8] }>
%"class.glslang::TMap.65" = type { %"class.std::map.66" }
%"class.std::map.66" = type { %"class.std::_Rb_tree.67" }
%"class.std::_Rb_tree.67" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, glslang::TExtensionBehavior>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator.68", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator.68" = type { ptr }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.glslang::TMap.70" = type { %"class.std::map.71" }
%"class.std::map.71" = type { %"class.std::_Rb_tree.72" }
%"class.std::_Rb_tree.72" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, glslang::pool_allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, unsigned int>>>::_Rb_tree_impl" = type { %"class.glslang::pool_allocator.73", [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::pool_allocator.73" = type { ptr }
%class.TInfoSink = type { %"class.glslang::TInfoSinkBase", %"class.glslang::TInfoSinkBase" }
%"class.glslang::TInfoSinkBase" = type <{ %"class.std::__cxx11::basic_string.57", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string.57" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.61 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.61 = type { i64, [8 x i8] }

@_ZN12_GLOBAL__N_110KeywordMapE = external hidden global ptr, align 8
@.str.233 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN12_GLOBAL__N_111ReservedSetE = external hidden global ptr, align 8
@.str.306 = external hidden unnamed_addr constant [24 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang15HlslScanContext18tokenizeIdentifierEv(ptr noundef nonnull align 8 dereferenceable(76) %0) #1 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator.105", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.105", align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %10 = load ptr, ptr @_ZN12_GLOBAL__N_111ReservedSetE, align 8, !tbaa !5
  %11 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 6
  %12 = call ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %13 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %4, i32 0, i32 0
  %14 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %13, i32 0, i32 0
  store ptr %12, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %15 = load ptr, ptr @_ZN12_GLOBAL__N_111ReservedSetE, align 8, !tbaa !5
  %16 = call ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %15) #4
  %17 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %5, i32 0, i32 0
  %18 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %17, i32 0, i32 0
  store ptr %16, ptr %18, align 8
  %19 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIPKcLb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br i1 %19, label %20, label %22

20:                                               ; preds = %1
  %21 = call noundef i32 @_ZN7glslang15HlslScanContext12reservedWordEv(ptr noundef nonnull align 8 dereferenceable(76) %9)
  store i32 %21, ptr %2, align 4
  br label %93

22:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %23 = load ptr, ptr @_ZN12_GLOBAL__N_110KeywordMapE, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 6
  %25 = call ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %26 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.105", ptr %6, i32 0, i32 0
  %27 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.106", ptr %26, i32 0, i32 0
  store ptr %25, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %28 = load ptr, ptr @_ZN12_GLOBAL__N_110KeywordMapE, align 8, !tbaa !5
  %29 = call ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %28) #4
  %30 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.105", ptr %7, i32 0, i32 0
  %31 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.106", ptr %30, i32 0, i32 0
  store ptr %29, ptr %31, align 8
  %32 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKPKcN7glslang15EHlslTokenClassEELb1EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br i1 %32, label %33, label %35

33:                                               ; preds = %22
  %34 = call noundef i32 @_ZN7glslang15HlslScanContext16identifierOrTypeEv(ptr noundef nonnull align 8 dereferenceable(76) %9)
  store i32 %34, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

35:                                               ; preds = %22
  %36 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPKcN7glslang15EHlslTokenClassEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %37 = getelementptr inbounds %"struct.std::pair.107", ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  store i32 %38, ptr %39, align 8, !tbaa !12
  %40 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %41 = load i32, ptr %40, align 8, !tbaa !12
  switch i32 %41, label %85 [
    i32 1, label %42
    i32 2, label %42
    i32 3, label %42
    i32 4, label %42
    i32 5, label %42
    i32 6, label %42
    i32 7, label %42
    i32 9, label %42
    i32 10, label %42
    i32 11, label %42
    i32 12, label %42
    i32 13, label %42
    i32 14, label %42
    i32 15, label %42
    i32 16, label %42
    i32 17, label %42
    i32 18, label %42
    i32 19, label %42
    i32 20, label %42
    i32 21, label %42
    i32 8, label %42
    i32 22, label %42
    i32 23, label %42
    i32 24, label %42
    i32 25, label %45
    i32 26, label %45
    i32 27, label %45
    i32 28, label %45
    i32 29, label %45
    i32 30, label %48
    i32 31, label %48
    i32 32, label %48
    i32 33, label %51
    i32 34, label %51
    i32 35, label %54
    i32 36, label %54
    i32 37, label %54
    i32 38, label %57
    i32 39, label %57
    i32 40, label %57
    i32 41, label %57
    i32 42, label %57
    i32 43, label %57
    i32 44, label %57
    i32 45, label %57
    i32 46, label %57
    i32 47, label %57
    i32 48, label %57
    i32 49, label %57
    i32 50, label %57
    i32 51, label %57
    i32 52, label %57
    i32 53, label %57
    i32 54, label %57
    i32 55, label %57
    i32 56, label %57
    i32 57, label %57
    i32 58, label %57
    i32 59, label %57
    i32 60, label %57
    i32 61, label %57
    i32 62, label %57
    i32 63, label %57
    i32 64, label %57
    i32 65, label %57
    i32 66, label %57
    i32 67, label %57
    i32 68, label %57
    i32 69, label %57
    i32 70, label %57
    i32 71, label %57
    i32 72, label %57
    i32 73, label %57
    i32 74, label %57
    i32 75, label %57
    i32 76, label %57
    i32 77, label %57
    i32 78, label %57
    i32 79, label %57
    i32 80, label %57
    i32 81, label %57
    i32 82, label %57
    i32 83, label %57
    i32 84, label %57
    i32 85, label %57
    i32 86, label %57
    i32 87, label %57
    i32 88, label %57
    i32 89, label %57
    i32 90, label %57
    i32 91, label %57
    i32 92, label %57
    i32 93, label %57
    i32 94, label %57
    i32 95, label %57
    i32 96, label %57
    i32 129, label %57
    i32 130, label %57
    i32 131, label %57
    i32 132, label %57
    i32 133, label %57
    i32 134, label %57
    i32 135, label %57
    i32 136, label %57
    i32 137, label %57
    i32 138, label %57
    i32 139, label %57
    i32 140, label %57
    i32 141, label %57
    i32 142, label %57
    i32 143, label %57
    i32 144, label %57
    i32 97, label %57
    i32 98, label %57
    i32 99, label %57
    i32 100, label %57
    i32 101, label %57
    i32 102, label %57
    i32 103, label %57
    i32 104, label %57
    i32 105, label %57
    i32 106, label %57
    i32 107, label %57
    i32 108, label %57
    i32 109, label %57
    i32 110, label %57
    i32 111, label %57
    i32 112, label %57
    i32 113, label %57
    i32 114, label %57
    i32 115, label %57
    i32 116, label %57
    i32 117, label %57
    i32 118, label %57
    i32 119, label %57
    i32 120, label %57
    i32 121, label %57
    i32 122, label %57
    i32 123, label %57
    i32 124, label %57
    i32 125, label %57
    i32 126, label %57
    i32 127, label %57
    i32 128, label %57
    i32 145, label %57
    i32 146, label %57
    i32 147, label %57
    i32 148, label %57
    i32 149, label %57
    i32 150, label %57
    i32 151, label %57
    i32 152, label %57
    i32 153, label %57
    i32 154, label %57
    i32 155, label %57
    i32 156, label %57
    i32 157, label %57
    i32 158, label %57
    i32 159, label %57
    i32 160, label %57
    i32 161, label %57
    i32 162, label %57
    i32 163, label %57
    i32 164, label %57
    i32 165, label %57
    i32 166, label %57
    i32 167, label %57
    i32 168, label %57
    i32 169, label %57
    i32 170, label %57
    i32 171, label %57
    i32 172, label %57
    i32 173, label %57
    i32 174, label %57
    i32 175, label %57
    i32 176, label %57
    i32 177, label %57
    i32 178, label %57
    i32 179, label %57
    i32 180, label %57
    i32 181, label %57
    i32 182, label %57
    i32 183, label %57
    i32 184, label %57
    i32 185, label %57
    i32 186, label %57
    i32 187, label %57
    i32 188, label %57
    i32 189, label %57
    i32 190, label %57
    i32 191, label %57
    i32 192, label %57
    i32 193, label %60
    i32 194, label %60
    i32 195, label %60
    i32 196, label %60
    i32 197, label %60
    i32 198, label %60
    i32 199, label %60
    i32 200, label %60
    i32 201, label %60
    i32 202, label %60
    i32 203, label %60
    i32 204, label %60
    i32 205, label %60
    i32 206, label %60
    i32 207, label %60
    i32 208, label %60
    i32 209, label %60
    i32 210, label %60
    i32 211, label %60
    i32 212, label %60
    i32 213, label %60
    i32 214, label %60
    i32 215, label %60
    i32 218, label %60
    i32 219, label %60
    i32 220, label %60
    i32 221, label %60
    i32 222, label %60
    i32 223, label %60
    i32 224, label %60
    i32 216, label %60
    i32 217, label %60
    i32 226, label %63
    i32 227, label %63
    i32 230, label %63
    i32 228, label %63
    i32 233, label %63
    i32 229, label %63
    i32 231, label %63
    i32 232, label %63
    i32 239, label %66
    i32 241, label %82
    i32 242, label %82
    i32 243, label %82
    i32 244, label %82
    i32 245, label %82
    i32 246, label %82
    i32 247, label %82
    i32 248, label %82
    i32 249, label %82
    i32 251, label %82
    i32 250, label %82
    i32 252, label %82
  ]

42:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35
  %43 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %44 = load i32, ptr %43, align 8, !tbaa !12
  store i32 %44, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

45:                                               ; preds = %35, %35, %35, %35, %35
  %46 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %47 = load i32, ptr %46, align 8, !tbaa !12
  store i32 %47, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

48:                                               ; preds = %35, %35, %35
  %49 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %50 = load i32, ptr %49, align 8, !tbaa !12
  store i32 %50, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

51:                                               ; preds = %35, %35
  %52 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %53 = load i32, ptr %52, align 8, !tbaa !12
  store i32 %53, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

54:                                               ; preds = %35, %35, %35
  %55 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %56 = load i32, ptr %55, align 8, !tbaa !12
  store i32 %56, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

57:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35
  %58 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %59 = load i32, ptr %58, align 8, !tbaa !12
  store i32 %59, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

60:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35
  %61 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %62 = load i32, ptr %61, align 8, !tbaa !12
  store i32 %62, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

63:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35
  %64 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %65 = load i32, ptr %64, align 8, !tbaa !12
  store i32 %65, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

66:                                               ; preds = %35
  %67 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 6
  %68 = load ptr, ptr %67, align 8, !tbaa !16
  %69 = call i32 @strcmp(ptr noundef @.str.233, ptr noundef %68) #5
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %75

71:                                               ; preds = %66
  %72 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !17
  %74 = getelementptr inbounds %"struct.glslang::HlslToken", ptr %73, i32 0, i32 2
  store i8 1, ptr %74, align 8, !tbaa !18
  br label %79

75:                                               ; preds = %66
  %76 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 5
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  %78 = getelementptr inbounds %"struct.glslang::HlslToken", ptr %77, i32 0, i32 2
  store i8 0, ptr %78, align 8, !tbaa !18
  br label %79

79:                                               ; preds = %75, %71
  %80 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %81 = load i32, ptr %80, align 8, !tbaa !12
  store i32 %81, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

82:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35
  %83 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 7
  %84 = load i32, ptr %83, align 8, !tbaa !12
  store i32 %84, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

85:                                               ; preds = %35
  %86 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 1
  %87 = load ptr, ptr %86, align 8, !tbaa !19
  %88 = getelementptr inbounds %"class.glslang::TParseVersions", ptr %87, i32 0, i32 3
  %89 = load ptr, ptr %88, align 8, !tbaa !20
  %90 = getelementptr inbounds %class.TInfoSink, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds %"class.glslang::HlslScanContext", ptr %9, i32 0, i32 3
  call void @_ZN7glslang13TInfoSinkBase7messageENS_11TPrefixTypeEPKcRKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(36) %90, i32 noundef 3, ptr noundef @.str.306, ptr noundef nonnull align 8 dereferenceable(24) %91)
  store i32 0, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %92

92:                                               ; preds = %85, %82, %79, %63, %60, %57, %54, %51, %48, %45, %42, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %93

93:                                               ; preds = %92, %20
  %94 = load i32, ptr %2, align 4
  ret i32 %94
}

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

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

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

!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, !11, i64 8}
!10 = !{!"_ZTSSt4pairIKPKcN7glslang15EHlslTokenClassEE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSN7glslang15EHlslTokenClassE", !7, i64 0}
!12 = !{!13, !11, i64 72}
!13 = !{!"_ZTSN7glslang15HlslScanContextE", !6, i64 8, !6, i64 16, !14, i64 24, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72}
!14 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16}
!15 = !{!"int", !7, i64 0}
!16 = !{!13, !6, i64 64}
!17 = !{!13, !6, i64 56}
!18 = !{!7, !7, i64 0}
!19 = !{!13, !6, i64 8}
!20 = !{!21, !6, i64 16}
!21 = !{!"_ZTSN7glslang14TParseVersionsE", !22, i64 8, !23, i64 12, !6, i64 16, !15, i64 24, !24, i64 28, !25, i64 32, !6, i64 56, !26, i64 64, !37, i64 120, !42, i64 176, !15, i64 180, !6, i64 184}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTS8EProfile", !7, i64 0}
!24 = !{!"_ZTS11EShLanguage", !7, i64 0}
!25 = !{!"_ZTSN7glslang10SpvVersionE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !22, i64 16}
!26 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !27, i64 0}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !31, i64 8, !33, i64 16}
!30 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!31 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !32, i64 0}
!32 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!33 = !{!"_ZTSSt15_Rb_tree_header", !34, i64 0, !36, i64 32}
!34 = !{!"_ZTSSt18_Rb_tree_node_base", !35, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!35 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!36 = !{!"long", !7, i64 0}
!37 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !38, i64 0}
!38 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !39, i64 0}
!39 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !40, i64 0}
!40 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !41, i64 0, !31, i64 8, !33, i64 16}
!41 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!42 = !{!"_ZTS11EShMessages", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::__detail::_Node_iterator.105" = type { %"struct.std::__detail::_Node_iterator_base.106" }
%"struct.std::__detail::_Node_iterator_base.106" = type { ptr }

@_ZN12_GLOBAL__N_110KeywordMapE = external hidden local_unnamed_addr global ptr, align 8
@.str.233 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN12_GLOBAL__N_111ReservedSetE = external hidden local_unnamed_addr global ptr, align 8
@.str.306 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang15HlslScanContext18tokenizeIdentifierEv(ptr noundef nonnull align 8 dereferenceable(76) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %3 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator.105", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.105", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %6 = load ptr, ptr @_ZN12_GLOBAL__N_111ReservedSetE, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 64
  %8 = tail call ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  store ptr %8, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %9 = load ptr, ptr @_ZN12_GLOBAL__N_111ReservedSetE, align 8, !tbaa !5
  %10 = tail call ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %9) #4
  store ptr %10, ptr %3, align 8
  %11 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIPKcLb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  br i1 %11, label %12, label %14

12:                                               ; preds = %1
  %13 = call noundef i32 @_ZN7glslang15HlslScanContext12reservedWordEv(ptr noundef nonnull align 8 dereferenceable(76) %0)
  br label %42

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %15 = load ptr, ptr @_ZN12_GLOBAL__N_110KeywordMapE, align 8, !tbaa !5
  %16 = call ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 8 dereferenceable(8) %7)
  store ptr %16, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %17 = load ptr, ptr @_ZN12_GLOBAL__N_110KeywordMapE, align 8, !tbaa !5
  %18 = call ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %17) #4
  store ptr %18, ptr %5, align 8
  %19 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKPKcN7glslang15EHlslTokenClassEELb1EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %19, label %20, label %22

20:                                               ; preds = %14
  %21 = call noundef i32 @_ZN7glslang15HlslScanContext16identifierOrTypeEv(ptr noundef nonnull align 8 dereferenceable(76) %0)
  br label %41

22:                                               ; preds = %14
  %23 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPKcN7glslang15EHlslTokenClassEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %25, ptr %26, align 8, !tbaa !12
  switch i32 %25, label %35 [
    i32 1, label %41
    i32 2, label %41
    i32 3, label %41
    i32 4, label %41
    i32 5, label %41
    i32 6, label %41
    i32 7, label %41
    i32 9, label %41
    i32 10, label %41
    i32 11, label %41
    i32 12, label %41
    i32 13, label %41
    i32 14, label %41
    i32 15, label %41
    i32 16, label %41
    i32 17, label %41
    i32 18, label %41
    i32 19, label %41
    i32 20, label %41
    i32 21, label %41
    i32 8, label %41
    i32 22, label %41
    i32 23, label %41
    i32 24, label %41
    i32 25, label %41
    i32 26, label %41
    i32 27, label %41
    i32 28, label %41
    i32 29, label %41
    i32 30, label %41
    i32 31, label %41
    i32 32, label %41
    i32 33, label %41
    i32 34, label %41
    i32 35, label %41
    i32 36, label %41
    i32 37, label %41
    i32 38, label %41
    i32 39, label %41
    i32 40, label %41
    i32 41, label %41
    i32 42, label %41
    i32 43, label %41
    i32 44, label %41
    i32 45, label %41
    i32 46, label %41
    i32 47, label %41
    i32 48, label %41
    i32 49, label %41
    i32 50, label %41
    i32 51, label %41
    i32 52, label %41
    i32 53, label %41
    i32 54, label %41
    i32 55, label %41
    i32 56, label %41
    i32 57, label %41
    i32 58, label %41
    i32 59, label %41
    i32 60, label %41
    i32 61, label %41
    i32 62, label %41
    i32 63, label %41
    i32 64, label %41
    i32 65, label %41
    i32 66, label %41
    i32 67, label %41
    i32 68, label %41
    i32 69, label %41
    i32 70, label %41
    i32 71, label %41
    i32 72, label %41
    i32 73, label %41
    i32 74, label %41
    i32 75, label %41
    i32 76, label %41
    i32 77, label %41
    i32 78, label %41
    i32 79, label %41
    i32 80, label %41
    i32 81, label %41
    i32 82, label %41
    i32 83, label %41
    i32 84, label %41
    i32 85, label %41
    i32 86, label %41
    i32 87, label %41
    i32 88, label %41
    i32 89, label %41
    i32 90, label %41
    i32 91, label %41
    i32 92, label %41
    i32 93, label %41
    i32 94, label %41
    i32 95, label %41
    i32 96, label %41
    i32 129, label %41
    i32 130, label %41
    i32 131, label %41
    i32 132, label %41
    i32 133, label %41
    i32 134, label %41
    i32 135, label %41
    i32 136, label %41
    i32 137, label %41
    i32 138, label %41
    i32 139, label %41
    i32 140, label %41
    i32 141, label %41
    i32 142, label %41
    i32 143, label %41
    i32 144, label %41
    i32 97, label %41
    i32 98, label %41
    i32 99, label %41
    i32 100, label %41
    i32 101, label %41
    i32 102, label %41
    i32 103, label %41
    i32 104, label %41
    i32 105, label %41
    i32 106, label %41
    i32 107, label %41
    i32 108, label %41
    i32 109, label %41
    i32 110, label %41
    i32 111, label %41
    i32 112, label %41
    i32 113, label %41
    i32 114, label %41
    i32 115, label %41
    i32 116, label %41
    i32 117, label %41
    i32 118, label %41
    i32 119, label %41
    i32 120, label %41
    i32 121, label %41
    i32 122, label %41
    i32 123, label %41
    i32 124, label %41
    i32 125, label %41
    i32 126, label %41
    i32 127, label %41
    i32 128, label %41
    i32 145, label %41
    i32 146, label %41
    i32 147, label %41
    i32 148, label %41
    i32 149, label %41
    i32 150, label %41
    i32 151, label %41
    i32 152, label %41
    i32 153, label %41
    i32 154, label %41
    i32 155, label %41
    i32 156, label %41
    i32 157, label %41
    i32 158, label %41
    i32 159, label %41
    i32 160, label %41
    i32 161, label %41
    i32 162, label %41
    i32 163, label %41
    i32 164, label %41
    i32 165, label %41
    i32 166, label %41
    i32 167, label %41
    i32 168, label %41
    i32 169, label %41
    i32 170, label %41
    i32 171, label %41
    i32 172, label %41
    i32 173, label %41
    i32 174, label %41
    i32 175, label %41
    i32 176, label %41
    i32 177, label %41
    i32 178, label %41
    i32 179, label %41
    i32 180, label %41
    i32 181, label %41
    i32 182, label %41
    i32 183, label %41
    i32 184, label %41
    i32 185, label %41
    i32 186, label %41
    i32 187, label %41
    i32 188, label %41
    i32 189, label %41
    i32 190, label %41
    i32 191, label %41
    i32 192, label %41
    i32 193, label %41
    i32 194, label %41
    i32 195, label %41
    i32 196, label %41
    i32 197, label %41
    i32 198, label %41
    i32 199, label %41
    i32 200, label %41
    i32 201, label %41
    i32 202, label %41
    i32 203, label %41
    i32 204, label %41
    i32 205, label %41
    i32 206, label %41
    i32 207, label %41
    i32 208, label %41
    i32 209, label %41
    i32 210, label %41
    i32 211, label %41
    i32 212, label %41
    i32 213, label %41
    i32 214, label %41
    i32 215, label %41
    i32 218, label %41
    i32 219, label %41
    i32 220, label %41
    i32 221, label %41
    i32 222, label %41
    i32 223, label %41
    i32 224, label %41
    i32 216, label %41
    i32 217, label %41
    i32 226, label %41
    i32 227, label %41
    i32 230, label %41
    i32 228, label %41
    i32 233, label %41
    i32 229, label %41
    i32 231, label %41
    i32 232, label %41
    i32 239, label %27
    i32 241, label %41
    i32 242, label %41
    i32 243, label %41
    i32 244, label %41
    i32 245, label %41
    i32 246, label %41
    i32 247, label %41
    i32 248, label %41
    i32 249, label %41
    i32 251, label %41
    i32 250, label %41
    i32 252, label %41
  ]

27:                                               ; preds = %22
  %28 = load ptr, ptr %7, align 8, !tbaa !16
  %29 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.233, ptr noundef nonnull dereferenceable(1) %28) #5
  %30 = icmp eq i32 %29, 0
  %31 = getelementptr inbounds i8, ptr %0, i64 56
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds i8, ptr %32, i64 32
  %. = zext i1 %30 to i8
  store i8 %., ptr %33, align 8, !tbaa !18
  %34 = load i32, ptr %26, align 8, !tbaa !12
  br label %41

35:                                               ; preds = %22
  %36 = getelementptr inbounds i8, ptr %0, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !19
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %39 = load ptr, ptr %38, align 8, !tbaa !20
  %40 = getelementptr inbounds i8, ptr %0, i64 24
  call void @_ZN7glslang13TInfoSinkBase7messageENS_11TPrefixTypeEPKcRKNS_10TSourceLocE(ptr noundef nonnull align 8 dereferenceable(36) %39, i32 noundef 3, ptr noundef nonnull @.str.306, ptr noundef nonnull align 8 dereferenceable(24) %40)
  br label %41

41:                                               ; preds = %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %22, %35, %27, %20
  %.0 = phi i32 [ %21, %20 ], [ 0, %35 ], [ %34, %27 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ], [ %25, %22 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %42

42:                                               ; preds = %41, %12
  %.1 = phi i32 [ %13, %12 ], [ %.0, %41 ]
  ret i32 %.1
}

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @_ZNSt13unordered_setIPKcN12_GLOBAL__N_18str_hashENS2_6str_eqESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @_ZNSt13unordered_mapIPKcN7glslang15EHlslTokenClassEN12_GLOBAL__N_18str_hashENS4_6str_eqESaISt4pairIKS1_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

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

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

!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, !11, i64 8}
!10 = !{!"_ZTSSt4pairIKPKcN7glslang15EHlslTokenClassEE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSN7glslang15EHlslTokenClassE", !7, i64 0}
!12 = !{!13, !11, i64 72}
!13 = !{!"_ZTSN7glslang15HlslScanContextE", !6, i64 8, !6, i64 16, !14, i64 24, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72}
!14 = !{!"_ZTSN7glslang10TSourceLocE", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16}
!15 = !{!"int", !7, i64 0}
!16 = !{!13, !6, i64 64}
!17 = !{!13, !6, i64 56}
!18 = !{!7, !7, i64 0}
!19 = !{!13, !6, i64 8}
!20 = !{!21, !6, i64 16}
!21 = !{!"_ZTSN7glslang14TParseVersionsE", !22, i64 8, !23, i64 12, !6, i64 16, !15, i64 24, !24, i64 28, !25, i64 32, !6, i64 56, !26, i64 64, !37, i64 120, !42, i64 176, !15, i64 180, !6, i64 184}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTS8EProfile", !7, i64 0}
!24 = !{!"_ZTS11EShLanguage", !7, i64 0}
!25 = !{!"_ZTSN7glslang10SpvVersionE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !22, i64 16}
!26 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEENS_18TExtensionBehaviorESt4lessIS7_EEE", !27, i64 0}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEENS4_18TExtensionBehaviorESt4lessIS7_ENS5_ISt4pairIKS7_S8_EEEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_NS4_18TExtensionBehaviorEESt10_Select1stISB_ESt4lessIS7_ENS5_ISB_EEE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !31, i64 8, !33, i64 16}
!30 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEENS_18TExtensionBehaviorEEEEE", !6, i64 0}
!31 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !32, i64 0}
!32 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!33 = !{!"_ZTSSt15_Rb_tree_header", !34, i64 0, !36, i64 32}
!34 = !{!"_ZTSSt18_Rb_tree_node_base", !35, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!35 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!36 = !{!"long", !7, i64 0}
!37 = !{!"_ZTSN7glslang4TMapINSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEEjSt4lessIS7_EEE", !38, i64 0}
!38 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEjSt4lessIS7_ENS5_ISt4pairIKS7_jEEEE", !39, i64 0}
!39 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE", !40, i64 0}
!40 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4pairIKS7_jESt10_Select1stISA_ESt4lessIS7_ENS5_ISA_EEE13_Rb_tree_implISE_Lb1EEE", !41, i64 0, !31, i64 8, !33, i64 16}
!41 = !{!"_ZTSN7glslang14pool_allocatorISt13_Rb_tree_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_IcEEEEjEEEE", !6, i64 0}
!42 = !{!"_ZTS11EShMessages", !7, i64 0}


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