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

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

%"class.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon.84, ptr, ptr, %"struct.glslang::TSampler", ptr, ptr }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>
%union.anon.84 = type { ptr }
%"struct.glslang::TSampler" = type { i32 }
%"struct.glslang::TRange" = type { i32, i32 }
%"struct.glslang::TIoRange" = type { %"struct.glslang::TRange", %"struct.glslang::TRange", i32, i32 }
%"class.glslang::TIntermediate" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::list", i32, i32, %"struct.glslang::SpvVersion", ptr, %"class.std::set", %"class.glslang::MustBeAssigned", i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i32], [3 x i8], [3 x i32], i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, i32, ptr, ptr, i32, i8, i32, i32, i32, i32, i8, i8, i8, i32, i32, i32, i8, i8, i8, i32, i8, i32, i8, %"class.std::vector", i8, i8, i8, i32, i32, i32, i32, i8, %"struct.std::array", %"struct.std::array.9", %"class.std::vector.15", i8, i8, i8, i8, i8, i8, i8, %"class.std::set.20", i32, i8, i8, i8, i8, ptr, ptr, %"class.std::unordered_map", i32, %"class.glslang::TNumericFeatures", %"class.std::unordered_map.31", %"class.std::unordered_set", %"class.std::vector.64", [4 x %"class.std::vector.69"], [2 x %"class.std::vector.74"], %"class.std::set.20", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::map.79", %"class.glslang::TProcesses" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<glslang::TCall, std::allocator<glslang::TCall>>::_List_impl" }
%"struct.std::__cxx11::_List_base<glslang::TCall, std::allocator<glslang::TCall>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"struct.glslang::SpvVersion" = type <{ i32, i32, i32, i32, i8, [3 x i8] }>
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"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::MustBeAssigned" = type <{ %struct.TBuiltInResource, i8, [3 x i8] }>
%struct.TBuiltInResource = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TLimits }
%struct.TLimits = type { i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glslang::TXfbBuffer, std::allocator<glslang::TXfbBuffer>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TXfbBuffer, std::allocator<glslang::TXfbBuffer>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TXfbBuffer, std::allocator<glslang::TXfbBuffer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TXfbBuffer, std::allocator<glslang::TXfbBuffer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array" = type { [6 x i32] }
%"struct.std::array.9" = type { [6 x %"class.std::map"] }
%"class.std::map" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.glslang::TNumericFeatures" = type { i32 }
%"class.std::unordered_map.31" = type { %"class.std::_Hashtable.32" }
%"class.std::_Hashtable.32" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.45" }
%"class.std::_Hashtable.45" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<glslang::TOffsetRange, std::allocator<glslang::TOffsetRange>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TOffsetRange, std::allocator<glslang::TOffsetRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TOffsetRange, std::allocator<glslang::TOffsetRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TOffsetRange, std::allocator<glslang::TOffsetRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.69" = type { %"struct.std::_Vector_base.70" }
%"struct.std::_Vector_base.70" = type { %"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set.20" = type { %"class.std::_Rb_tree.21" }
%"class.std::_Rb_tree.21" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, glslang::pool_allocator<char>>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map.79" = type { %"class.std::_Rb_tree.80" }
%"class.std::_Rb_tree.80" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.glslang::TProcesses" = type { %"class.std::vector.15" }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang13TIntermediate15addUsedLocationERKNS_10TQualifierERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 1 dereferenceable(1) %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.glslang::TType", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"struct.glslang::TRange", align 4
  %19 = alloca %"struct.glslang::TRange", align 4
  %20 = alloca %"struct.glslang::TRange", align 4
  %21 = alloca %"struct.glslang::TIoRange", align 4
  %22 = alloca %"struct.glslang::TRange", align 4
  %23 = alloca %"struct.glslang::TRange", align 4
  %24 = alloca %"struct.glslang::TRange", align 4
  %25 = alloca %"struct.glslang::TRange", align 4
  %26 = alloca %"struct.glslang::TIoRange", align 4
  %27 = alloca %"struct.glslang::TRange", align 4
  %28 = alloca %"struct.glslang::TRange", align 4
  %29 = alloca %"struct.glslang::TRange", align 4
  %30 = alloca %"struct.glslang::TRange", align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.glslang::TIoRange", align 4
  %33 = alloca %"struct.glslang::TRange", align 4
  %34 = alloca %"struct.glslang::TRange", align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %36, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %37)
  br i1 %38, label %39, label %40

39:                                               ; preds = %4
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %74

40:                                               ; preds = %4
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %41)
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  store i32 1, ptr %10, align 4, !tbaa !11
  br label %73

44:                                               ; preds = %40
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.glslang::TQualifier", ptr %45, i32 0, i32 1
  %47 = load i64, ptr %46, align 8
  %48 = and i64 %47, 63
  %49 = trunc i64 %48 to i32
  %50 = icmp eq i32 %49, 5
  br i1 %50, label %51, label %52

51:                                               ; preds = %44
  store i32 2, ptr %10, align 4, !tbaa !11
  br label %72

52:                                               ; preds = %44
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.glslang::TQualifier", ptr %53, i32 0, i32 1
  %55 = load i64, ptr %54, align 8
  %56 = and i64 %55, 63
  %57 = trunc i64 %56 to i32
  %58 = icmp eq i32 %57, 6
  br i1 %58, label %59, label %60

59:                                               ; preds = %52
  store i32 3, ptr %10, align 4, !tbaa !11
  br label %71

60:                                               ; preds = %52
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isAnyPayloadEv(ptr noundef nonnull align 8 dereferenceable(72) %61)
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %70

64:                                               ; preds = %60
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = call noundef zeroext i1 @_ZNK7glslang10TQualifier13isAnyCallableEv(ptr noundef nonnull align 8 dereferenceable(72) %65)
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  store i32 1, ptr %11, align 4, !tbaa !11
  br label %69

68:                                               ; preds = %64
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %346

69:                                               ; preds = %67
  br label %70

70:                                               ; preds = %69, %63
  br label %71

71:                                               ; preds = %70, %59
  br label %72

72:                                               ; preds = %71, %51
  br label %73

73:                                               ; preds = %72, %43
  br label %74

74:                                               ; preds = %73, %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isAnyPayloadEv(ptr noundef nonnull align 8 dereferenceable(72) %75)
  br i1 %76, label %80, label %77

77:                                               ; preds = %74
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = call noundef zeroext i1 @_ZNK7glslang10TQualifier13isAnyCallableEv(ptr noundef nonnull align 8 dereferenceable(72) %78)
  br i1 %79, label %80, label %81

80:                                               ; preds = %77, %74
  store i32 1, ptr %13, align 4, !tbaa !11
  br label %129

81:                                               ; preds = %77
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = call noundef zeroext i1 @_ZNK7glslang10TQualifier17isUniformOrBufferEv(ptr noundef nonnull align 8 dereferenceable(72) %82)
  br i1 %83, label %87, label %84

84:                                               ; preds = %81
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isTaskMemoryEv(ptr noundef nonnull align 8 dereferenceable(72) %85)
  br i1 %86, label %87, label %101

87:                                               ; preds = %84, %81
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !13
  %90 = getelementptr inbounds ptr, ptr %89, i64 30
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef zeroext i1 %91(ptr noundef nonnull align 8 dereferenceable(144) %88)
  br i1 %92, label %93, label %99

93:                                               ; preds = %87
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = load ptr, ptr %94, align 8, !tbaa !13
  %96 = getelementptr inbounds ptr, ptr %95, i64 17
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef i32 %97(ptr noundef nonnull align 8 dereferenceable(144) %94)
  store i32 %98, ptr %13, align 4, !tbaa !11
  br label %100

99:                                               ; preds = %87
  store i32 1, ptr %13, align 4, !tbaa !11
  br label %100

100:                                              ; preds = %99, %93
  br label %128

101:                                              ; preds = %84
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  %104 = getelementptr inbounds ptr, ptr %103, i64 29
  %105 = load ptr, ptr %104, align 8
  %106 = call noundef zeroext i1 %105(ptr noundef nonnull align 8 dereferenceable(144) %102)
  br i1 %106, label %107, label %122

107:                                              ; preds = %101
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 0
  %110 = load i32, ptr %109, align 8, !tbaa !15
  %111 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isArrayedIoE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(72) %108, i32 noundef %110)
  br i1 %111, label %112, label %122

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #4
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN7glslang5TTypeC2ERKS0_ib(ptr noundef nonnull align 8 dereferenceable(144) %14, ptr noundef nonnull align 8 dereferenceable(144) %113, i32 noundef 0, i1 noundef zeroext false)
  %114 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 0
  %115 = load i32, ptr %114, align 8, !tbaa !15
  %116 = invoke noundef i32 @_ZN7glslang13TIntermediate23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(144) %14, i32 noundef %115)
          to label %117 unwind label %118

117:                                              ; preds = %112
  store i32 %116, ptr %13, align 4, !tbaa !11
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #4
  br label %127

118:                                              ; preds = %112
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %15, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %16, align 4
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %348

122:                                              ; preds = %107, %101
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 0
  %125 = load i32, ptr %124, align 8, !tbaa !15
  %126 = call noundef i32 @_ZN7glslang13TIntermediate23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(144) %123, i32 noundef %125)
  store i32 %126, ptr %13, align 4, !tbaa !11
  br label %127

127:                                              ; preds = %122, %117
  br label %128

128:                                              ; preds = %127, %100
  br label %129

129:                                              ; preds = %128, %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 -1, ptr %17, align 4, !tbaa !11
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isAnyPayloadEv(ptr noundef nonnull align 8 dereferenceable(72) %130)
  br i1 %131, label %135, label %132

132:                                              ; preds = %129
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = call noundef zeroext i1 @_ZNK7glslang10TQualifier13isAnyCallableEv(ptr noundef nonnull align 8 dereferenceable(72) %133)
  br i1 %134, label %135, label %161

135:                                              ; preds = %132, %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.glslang::TQualifier", ptr %136, i32 0, i32 6
  %138 = load i64, ptr %137, align 4
  %139 = and i64 %138, 4095
  %140 = trunc i64 %139 to i32
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %"class.glslang::TQualifier", ptr %141, i32 0, i32 6
  %143 = load i64, ptr %142, align 4
  %144 = and i64 %143, 4095
  %145 = trunc i64 %144 to i32
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef %140, i32 noundef %145)
  %146 = load i32, ptr %11, align 4, !tbaa !11
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = getelementptr inbounds %"class.glslang::TQualifier", ptr %147, i32 0, i32 6
  %149 = load i64, ptr %148, align 4
  %150 = and i64 %149, 4095
  %151 = trunc i64 %150 to i32
  %152 = call noundef i32 @_ZN7glslang13TIntermediate15checkLocationRTEii(ptr noundef nonnull align 8 dereferenceable(1784) %35, i32 noundef %146, i32 noundef %151)
  store i32 %152, ptr %17, align 4, !tbaa !11
  %153 = load i32, ptr %17, align 4, !tbaa !11
  %154 = icmp slt i32 %153, 0
  br i1 %154, label %155, label %160

155:                                              ; preds = %135
  %156 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 85
  %157 = load i32, ptr %11, align 4, !tbaa !11
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [2 x %"class.std::vector.74"], ptr %156, i64 0, i64 %158
  call void @_ZNSt6vectorIN7glslang6TRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %159, ptr noundef nonnull align 4 dereferenceable(8) %18)
  br label %160

160:                                              ; preds = %155, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %344

161:                                              ; preds = %132
  %162 = load i32, ptr %13, align 4, !tbaa !11
  %163 = icmp eq i32 %162, 2
  br i1 %163, label %164, label %245

164:                                              ; preds = %161
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = load ptr, ptr %165, align 8, !tbaa !13
  %167 = getelementptr inbounds ptr, ptr %166, i64 7
  %168 = load ptr, ptr %167, align 8
  %169 = call noundef i32 %168(ptr noundef nonnull align 8 dereferenceable(144) %165)
  %170 = icmp eq i32 %169, 2
  br i1 %170, label %171, label %245

171:                                              ; preds = %164
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = load ptr, ptr %172, align 8, !tbaa !13
  %174 = getelementptr inbounds ptr, ptr %173, i64 12
  %175 = load ptr, ptr %174, align 8
  %176 = call noundef i32 %175(ptr noundef nonnull align 8 dereferenceable(144) %172)
  %177 = icmp eq i32 %176, 3
  br i1 %177, label %178, label %245

178:                                              ; preds = %171
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %179)
  br i1 %180, label %184, label %181

181:                                              ; preds = %178
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %182)
  br i1 %183, label %184, label %245

184:                                              ; preds = %181, %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %"class.glslang::TQualifier", ptr %185, i32 0, i32 6
  %187 = load i64, ptr %186, align 4
  %188 = and i64 %187, 4095
  %189 = trunc i64 %188 to i32
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %"class.glslang::TQualifier", ptr %190, i32 0, i32 6
  %192 = load i64, ptr %191, align 4
  %193 = and i64 %192, 4095
  %194 = trunc i64 %193 to i32
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef %189, i32 noundef %194)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef 0, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %19, i64 8, i1 false), !tbaa.struct !81
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !81
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = load ptr, ptr %195, align 8, !tbaa !13
  %197 = getelementptr inbounds ptr, ptr %196, i64 7
  %198 = load ptr, ptr %197, align 8
  %199 = call noundef i32 %198(ptr noundef nonnull align 8 dereferenceable(144) %195)
  %200 = load i64, ptr %22, align 4
  %201 = load i64, ptr %23, align 4
  call void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24) %21, i64 %200, i64 %201, i32 noundef %199, i32 noundef 0)
  %202 = load i32, ptr %10, align 4, !tbaa !11
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = call noundef i32 @_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %35, i32 noundef %202, ptr noundef nonnull align 4 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(144) %203, ptr noundef nonnull align 1 dereferenceable(1) %204)
  store i32 %205, ptr %17, align 4, !tbaa !11
  %206 = load i32, ptr %17, align 4, !tbaa !11
  %207 = icmp slt i32 %206, 0
  br i1 %207, label %208, label %244

208:                                              ; preds = %184
  %209 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 84
  %210 = load i32, ptr %10, align 4, !tbaa !11
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [4 x %"class.std::vector.69"], ptr %209, i64 0, i64 %211
  call void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %212, ptr noundef nonnull align 4 dereferenceable(24) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.glslang::TQualifier", ptr %213, i32 0, i32 6
  %215 = load i64, ptr %214, align 4
  %216 = and i64 %215, 4095
  %217 = trunc i64 %216 to i32
  %218 = add nsw i32 %217, 1
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = getelementptr inbounds %"class.glslang::TQualifier", ptr %219, i32 0, i32 6
  %221 = load i64, ptr %220, align 4
  %222 = and i64 %221, 4095
  %223 = trunc i64 %222 to i32
  %224 = add nsw i32 %223, 1
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef %218, i32 noundef %224)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %25, i32 noundef 0, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !81
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !81
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = load ptr, ptr %225, align 8, !tbaa !13
  %227 = getelementptr inbounds ptr, ptr %226, i64 7
  %228 = load ptr, ptr %227, align 8
  %229 = call noundef i32 %228(ptr noundef nonnull align 8 dereferenceable(144) %225)
  %230 = load i64, ptr %27, align 4
  %231 = load i64, ptr %28, align 4
  call void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24) %26, i64 %230, i64 %231, i32 noundef %229, i32 noundef 0)
  %232 = load i32, ptr %10, align 4, !tbaa !11
  %233 = load ptr, ptr %8, align 8, !tbaa !5
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = call noundef i32 @_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %35, i32 noundef %232, ptr noundef nonnull align 4 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(144) %233, ptr noundef nonnull align 1 dereferenceable(1) %234)
  store i32 %235, ptr %17, align 4, !tbaa !11
  %236 = load i32, ptr %17, align 4, !tbaa !11
  %237 = icmp slt i32 %236, 0
  br i1 %237, label %238, label %243

238:                                              ; preds = %208
  %239 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 84
  %240 = load i32, ptr %10, align 4, !tbaa !11
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [4 x %"class.std::vector.69"], ptr %239, i64 0, i64 %241
  call void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %242, ptr noundef nonnull align 4 dereferenceable(24) %26)
  br label %243

243:                                              ; preds = %238, %208
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %244

244:                                              ; preds = %243, %184
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %343

245:                                              ; preds = %181, %171, %164, %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %246 = load ptr, ptr %7, align 8, !tbaa !5
  %247 = getelementptr inbounds %"class.glslang::TQualifier", ptr %246, i32 0, i32 6
  %248 = load i64, ptr %247, align 4
  %249 = and i64 %248, 4095
  %250 = trunc i64 %249 to i32
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = getelementptr inbounds %"class.glslang::TQualifier", ptr %251, i32 0, i32 6
  %253 = load i64, ptr %252, align 4
  %254 = and i64 %253, 4095
  %255 = trunc i64 %254 to i32
  %256 = load i32, ptr %13, align 4, !tbaa !11
  %257 = add nsw i32 %255, %256
  %258 = sub nsw i32 %257, 1
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %29, i32 noundef %250, i32 noundef %258)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef 0, i32 noundef 3)
  %259 = load ptr, ptr %7, align 8, !tbaa !5
  %260 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12hasComponentEv(ptr noundef nonnull align 8 dereferenceable(72) %259)
  br i1 %260, label %268, label %261

261:                                              ; preds = %245
  %262 = load ptr, ptr %8, align 8, !tbaa !5
  %263 = load ptr, ptr %262, align 8, !tbaa !13
  %264 = getelementptr inbounds ptr, ptr %263, i64 12
  %265 = load ptr, ptr %264, align 8
  %266 = call noundef i32 %265(ptr noundef nonnull align 8 dereferenceable(144) %262)
  %267 = icmp sgt i32 %266, 0
  br i1 %267, label %268, label %300

268:                                              ; preds = %261, %245
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  %269 = load ptr, ptr %8, align 8, !tbaa !5
  %270 = load ptr, ptr %269, align 8, !tbaa !13
  %271 = getelementptr inbounds ptr, ptr %270, i64 12
  %272 = load ptr, ptr %271, align 8
  %273 = call noundef i32 %272(ptr noundef nonnull align 8 dereferenceable(144) %269)
  %274 = load ptr, ptr %8, align 8, !tbaa !5
  %275 = load ptr, ptr %274, align 8, !tbaa !13
  %276 = getelementptr inbounds ptr, ptr %275, i64 7
  %277 = load ptr, ptr %276, align 8
  %278 = call noundef i32 %277(ptr noundef nonnull align 8 dereferenceable(144) %274)
  %279 = icmp eq i32 %278, 2
  %280 = zext i1 %279 to i64
  %281 = select i1 %279, i32 2, i32 1
  %282 = mul nsw i32 %273, %281
  store i32 %282, ptr %31, align 4, !tbaa !11
  %283 = load ptr, ptr %7, align 8, !tbaa !5
  %284 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12hasComponentEv(ptr noundef nonnull align 8 dereferenceable(72) %283)
  br i1 %284, label %285, label %293

285:                                              ; preds = %268
  %286 = load ptr, ptr %7, align 8, !tbaa !5
  %287 = getelementptr inbounds %"class.glslang::TQualifier", ptr %286, i32 0, i32 6
  %288 = load i64, ptr %287, align 4
  %289 = lshr i64 %288, 12
  %290 = and i64 %289, 7
  %291 = trunc i64 %290 to i32
  %292 = getelementptr inbounds %"struct.glslang::TRange", ptr %30, i32 0, i32 0
  store i32 %291, ptr %292, align 4, !tbaa !82
  br label %293

293:                                              ; preds = %285, %268
  %294 = getelementptr inbounds %"struct.glslang::TRange", ptr %30, i32 0, i32 0
  %295 = load i32, ptr %294, align 4, !tbaa !82
  %296 = load i32, ptr %31, align 4, !tbaa !11
  %297 = add nsw i32 %295, %296
  %298 = sub nsw i32 %297, 1
  %299 = getelementptr inbounds %"struct.glslang::TRange", ptr %30, i32 0, i32 1
  store i32 %298, ptr %299, align 4, !tbaa !84
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  br label %300

300:                                              ; preds = %293, %261
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !81
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !81
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  %302 = load ptr, ptr %301, align 8, !tbaa !13
  %303 = getelementptr inbounds ptr, ptr %302, i64 7
  %304 = load ptr, ptr %303, align 8
  %305 = call noundef i32 %304(ptr noundef nonnull align 8 dereferenceable(144) %301)
  %306 = load ptr, ptr %7, align 8, !tbaa !5
  %307 = call noundef zeroext i1 @_ZNK7glslang10TQualifier8hasIndexEv(ptr noundef nonnull align 8 dereferenceable(72) %306)
  br i1 %307, label %308, label %311

308:                                              ; preds = %300
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = call noundef i32 @_ZNK7glslang10TQualifier8getIndexEv(ptr noundef nonnull align 8 dereferenceable(72) %309)
  br label %312

311:                                              ; preds = %300
  br label %312

312:                                              ; preds = %311, %308
  %313 = phi i32 [ %310, %308 ], [ 0, %311 ]
  %314 = load i64, ptr %33, align 4
  %315 = load i64, ptr %34, align 4
  call void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24) %32, i64 %314, i64 %315, i32 noundef %305, i32 noundef %313)
  %316 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isEsProfileEv(ptr noundef nonnull align 8 dereferenceable(1784) %35)
  br i1 %316, label %329, label %317

317:                                              ; preds = %312
  %318 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 0
  %319 = load i32, ptr %318, align 8, !tbaa !15
  %320 = icmp eq i32 %319, 0
  br i1 %320, label %321, label %329

321:                                              ; preds = %317
  %322 = load ptr, ptr %7, align 8, !tbaa !5
  %323 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %322)
  br i1 %323, label %324, label %329

324:                                              ; preds = %321
  %325 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 6
  %326 = getelementptr inbounds %"struct.glslang::SpvVersion", ptr %325, i32 0, i32 2
  %327 = load i32, ptr %326, align 8, !tbaa !85
  %328 = icmp sgt i32 %327, 0
  br i1 %328, label %329, label %334

329:                                              ; preds = %324, %321, %317, %312
  %330 = load i32, ptr %10, align 4, !tbaa !11
  %331 = load ptr, ptr %8, align 8, !tbaa !5
  %332 = load ptr, ptr %9, align 8, !tbaa !5
  %333 = call noundef i32 @_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %35, i32 noundef %330, ptr noundef nonnull align 4 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(144) %331, ptr noundef nonnull align 1 dereferenceable(1) %332)
  store i32 %333, ptr %17, align 4, !tbaa !11
  br label %334

334:                                              ; preds = %329, %324
  %335 = load i32, ptr %17, align 4, !tbaa !11
  %336 = icmp slt i32 %335, 0
  br i1 %336, label %337, label %342

337:                                              ; preds = %334
  %338 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %35, i32 0, i32 84
  %339 = load i32, ptr %10, align 4, !tbaa !11
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds [4 x %"class.std::vector.69"], ptr %338, i64 0, i64 %340
  call void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %341, ptr noundef nonnull align 4 dereferenceable(24) %32)
  br label %342

342:                                              ; preds = %337, %334
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %343

343:                                              ; preds = %342, %244
  br label %344

344:                                              ; preds = %343, %160
  %345 = load i32, ptr %17, align 4, !tbaa !11
  store i32 %345, ptr %5, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %346

346:                                              ; preds = %344, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %347 = load i32, ptr %5, align 4
  ret i32 %347

348:                                              ; preds = %118
  %349 = load ptr, ptr %15, align 8
  %350 = load i32, ptr %16, align 4
  %351 = insertvalue { ptr, i32 } poison, ptr %349, 0
  %352 = insertvalue { ptr, i32 } %351, i32 %350, 1
  resume { ptr, i32 } %352
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7glslang6TRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24), i64, i64, i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(24)) #2 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN7glslang13TIntermediateE", !17, i64 0, !18, i64 8, !18, i64 40, !21, i64 72, !26, i64 96, !12, i64 100, !27, i64 104, !6, i64 128, !28, i64 136, !36, i64 184, !12, i64 572, !12, i64 576, !12, i64 580, !10, i64 584, !10, i64 585, !10, i64 586, !10, i64 587, !10, i64 588, !10, i64 589, !10, i64 590, !10, i64 591, !7, i64 592, !7, i64 604, !7, i64 608, !39, i64 624, !18, i64 632, !18, i64 664, !12, i64 696, !12, i64 700, !12, i64 704, !6, i64 712, !6, i64 720, !40, i64 728, !10, i64 732, !12, i64 736, !12, i64 740, !41, i64 744, !41, i64 748, !10, i64 752, !10, i64 753, !10, i64 754, !42, i64 756, !43, i64 760, !44, i64 764, !10, i64 768, !10, i64 769, !10, i64 770, !45, i64 772, !10, i64 776, !12, i64 780, !10, i64 784, !46, i64 792, !10, i64 816, !10, i64 817, !10, i64 818, !12, i64 820, !50, i64 824, !12, i64 828, !12, i64 832, !10, i64 836, !51, i64 840, !52, i64 864, !53, i64 1152, !10, i64 1176, !10, i64 1177, !10, i64 1178, !10, i64 1179, !10, i64 1180, !10, i64 1181, !10, i64 1182, !57, i64 1184, !62, i64 1232, !10, i64 1236, !10, i64 1237, !10, i64 1238, !10, i64 1239, !6, i64 1240, !6, i64 1248, !63, i64 1256, !12, i64 1312, !68, i64 1316, !69, i64 1320, !71, i64 1376, !73, i64 1432, !7, i64 1456, !7, i64 1552, !57, i64 1600, !18, i64 1648, !18, i64 1680, !77, i64 1712, !80, i64 1760}
!17 = !{!"_ZTS11EShLanguage", !7, i64 0}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !7, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSNSt7__cxx114listIN7glslang5TCallESaIS2_EEE", !22, i64 0}
!22 = !{!"_ZTSNSt7__cxx1110_List_baseIN7glslang5TCallESaIS2_EEE", !23, i64 0}
!23 = !{!"_ZTSNSt7__cxx1110_List_baseIN7glslang5TCallESaIS2_EE10_List_implE", !24, i64 0}
!24 = !{!"_ZTSNSt8__detail17_List_node_headerE", !25, i64 0, !20, i64 16}
!25 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!26 = !{!"_ZTS8EProfile", !7, i64 0}
!27 = !{!"_ZTSN7glslang10SpvVersionE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !10, i64 16}
!28 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !29, i64 0}
!29 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !30, i64 0}
!30 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !31, i64 0, !33, i64 8}
!31 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !32, i64 0}
!32 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!33 = !{!"_ZTSSt15_Rb_tree_header", !34, i64 0, !20, 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 = !{!"_ZTSN7glslang14MustBeAssignedI16TBuiltInResourceEE", !37, i64 0, !10, i64 384}
!37 = !{!"_ZTS16TBuiltInResource", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !12, i64 236, !12, i64 240, !12, i64 244, !12, i64 248, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !12, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !12, i64 292, !12, i64 296, !12, i64 300, !12, i64 304, !12, i64 308, !12, i64 312, !12, i64 316, !12, i64 320, !12, i64 324, !12, i64 328, !12, i64 332, !12, i64 336, !12, i64 340, !12, i64 344, !12, i64 348, !12, i64 352, !12, i64 356, !12, i64 360, !12, i64 364, !12, i64 368, !38, i64 372}
!38 = !{!"_ZTS7TLimits", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !10, i64 4, !10, i64 5, !10, i64 6, !10, i64 7, !10, i64 8}
!39 = !{!"long long", !7, i64 0}
!40 = !{!"_ZTSN7glslang9EShSourceE", !7, i64 0}
!41 = !{!"_ZTSN7glslang15TLayoutGeometryE", !7, i64 0}
!42 = !{!"_ZTSN7glslang14TVertexSpacingE", !7, i64 0}
!43 = !{!"_ZTSN7glslang12TVertexOrderE", !7, i64 0}
!44 = !{!"_ZTSN7glslang18TInterlockOrderingE", !7, i64 0}
!45 = !{!"_ZTSN7glslang12TLayoutDepthE", !7, i64 0}
!46 = !{!"_ZTSSt6vectorIN7glslang10TXfbBufferESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIN7glslang10TXfbBufferESaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN7glslang10TXfbBufferESaIS1_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN7glslang10TXfbBufferESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN7glslang21ComputeDerivativeModeE", !7, i64 0}
!51 = !{!"_ZTSSt5arrayIjLm6EE", !7, i64 0}
!52 = !{!"_ZTSSt5arrayISt3mapIiiSt4lessIiESaISt4pairIKiiEEELm6EE", !7, i64 0}
!53 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4lessIS7_ESaIS7_EE", !58, i64 0}
!58 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEES7_St9_IdentityIS7_ESt4lessIS7_ESaIS7_EE", !59, i64 0}
!59 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEES7_St9_IdentityIS7_ESt4lessIS7_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !60, i64 0, !33, i64 8}
!60 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !61, i64 0}
!61 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!62 = !{!"_ZTS30EShTextureSamplerTransformMode", !7, i64 0}
!63 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !64, i64 0}
!64 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !20, i64 8, !65, i64 16, !20, i64 24, !66, i64 32, !6, i64 48}
!65 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!66 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !67, i64 0, !20, i64 8}
!67 = !{!"float", !7, i64 0}
!68 = !{!"_ZTSN7glslang16TNumericFeaturesE", !12, i64 0}
!69 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7glslang18TBlockStorageClassESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE", !70, i64 0}
!70 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N7glslang18TBlockStorageClassEESaISA_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !20, i64 8, !65, i64 16, !20, i64 24, !66, i64 32, !6, i64 48}
!71 = !{!"_ZTSSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE", !72, i64 0}
!72 = !{!"_ZTSSt10_HashtableIiiSaIiENSt8__detail9_IdentityESt8equal_toIiESt4hashIiENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !20, i64 8, !65, i64 16, !20, i64 24, !66, i64 32, !6, i64 48}
!73 = !{!"_ZTSSt6vectorIN7glslang12TOffsetRangeESaIS1_EE", !74, i64 0}
!74 = !{!"_ZTSSt12_Vector_baseIN7glslang12TOffsetRangeESaIS1_EE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIN7glslang12TOffsetRangeESaIS1_EE12_Vector_implE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseIN7glslang12TOffsetRangeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!77 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !78, i64 0}
!78 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !79, i64 0}
!79 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !31, i64 0, !33, i64 8}
!80 = !{!"_ZTSN7glslang10TProcessesE", !53, i64 0}
!81 = !{i64 0, i64 4, !11, i64 4, i64 4, !11}
!82 = !{!83, !12, i64 0}
!83 = !{!"_ZTSN7glslang6TRangeE", !12, i64 0, !12, i64 4}
!84 = !{!83, !12, i64 4}
!85 = !{!16, !12, i64 112}


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

%"class.glslang::TType" = type { ptr, i32, [4 x i8], %"class.glslang::TQualifier", ptr, %union.anon.84, ptr, ptr, %"struct.glslang::TSampler", ptr, ptr }
%"class.glslang::TQualifier" = type <{ ptr, i64, i8, [3 x i8], i32, i32, i64, i64, i8, i8, i8, i8, i8, [3 x i8], i32, i8, [3 x i8], i32, ptr }>
%union.anon.84 = type { ptr }
%"struct.glslang::TSampler" = type { i32 }
%"struct.glslang::TRange" = type { i32, i32 }
%"struct.glslang::TIoRange" = type { %"struct.glslang::TRange", %"struct.glslang::TRange", i32, i32 }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TRange, std::allocator<glslang::TRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.69" = type { %"struct.std::_Vector_base.70" }
%"struct.std::_Vector_base.70" = type { %"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl" }
%"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glslang::TIoRange, std::allocator<glslang::TIoRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7glslang13TIntermediate15addUsedLocationERKNS_10TQualifierERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 1 dereferenceable(1) %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.glslang::TType", align 8
  %6 = alloca %"struct.glslang::TRange", align 4
  %7 = alloca %"struct.glslang::TRange", align 8
  %8 = alloca %"struct.glslang::TRange", align 8
  %9 = alloca %"struct.glslang::TIoRange", align 4
  %10 = alloca %"struct.glslang::TRange", align 8
  %11 = alloca %"struct.glslang::TRange", align 8
  %12 = alloca %"struct.glslang::TIoRange", align 4
  %13 = alloca %"struct.glslang::TRange", align 8
  %14 = alloca %"struct.glslang::TRange", align 8
  %15 = alloca %"struct.glslang::TIoRange", align 4
  store i8 0, ptr %3, align 1, !tbaa !5
  %16 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %16, label %29, label %17

17:                                               ; preds = %4
  %18 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %18, label %29, label %19

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %1, i64 8
  %21 = load i64, ptr %20, align 8
  %22 = trunc i64 %21 to i32
  %23 = and i32 %22, 63
  switch i32 %23, label %25 [
    i32 5, label %29
    i32 6, label %24
  ]

24:                                               ; preds = %19
  br label %29

25:                                               ; preds = %19
  %26 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier12isAnyPayloadEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %26, label %29, label %27

27:                                               ; preds = %25
  %28 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier13isAnyCallableEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %28, label %29, label %191

29:                                               ; preds = %27, %25, %19, %17, %4, %24
  %.075 = phi i32 [ undef, %24 ], [ undef, %4 ], [ undef, %17 ], [ undef, %19 ], [ 0, %25 ], [ 1, %27 ]
  %.074 = phi i32 [ 3, %24 ], [ 0, %4 ], [ 1, %17 ], [ 2, %19 ], [ undef, %25 ], [ undef, %27 ]
  %30 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier12isAnyPayloadEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %30, label %64, label %31

31:                                               ; preds = %29
  %32 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier13isAnyCallableEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %32, label %64, label %33

33:                                               ; preds = %31
  %34 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier17isUniformOrBufferEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %34, label %37, label %35

35:                                               ; preds = %33
  %36 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier12isTaskMemoryEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %36, label %37, label %47

37:                                               ; preds = %35, %33
  %38 = load ptr, ptr %2, align 8, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %38, i64 240
  %40 = load ptr, ptr %39, align 8
  %41 = tail call noundef zeroext i1 %40(ptr noundef nonnull align 8 dereferenceable(144) %2)
  br i1 %41, label %42, label %64

42:                                               ; preds = %37
  %43 = load ptr, ptr %2, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %43, i64 136
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef i32 %45(ptr noundef nonnull align 8 dereferenceable(144) %2)
  br label %64

47:                                               ; preds = %35
  %48 = load ptr, ptr %2, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %48, i64 232
  %50 = load ptr, ptr %49, align 8
  %51 = tail call noundef zeroext i1 %50(ptr noundef nonnull align 8 dereferenceable(144) %2)
  br i1 %51, label %52, label %61

52:                                               ; preds = %47
  %53 = load i32, ptr %0, align 8, !tbaa !11
  %54 = tail call noundef zeroext i1 @_ZNK7glslang10TQualifier11isArrayedIoE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(72) %1, i32 noundef %53)
  br i1 %54, label %55, label %61

55:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #3
  call void @_ZN7glslang5TTypeC2ERKS0_ib(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull align 8 dereferenceable(144) %2, i32 noundef 0, i1 noundef zeroext false)
  %56 = load i32, ptr %0, align 8, !tbaa !11
  %57 = invoke noundef i32 @_ZN7glslang13TIntermediate23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(144) %5, i32 noundef %56)
          to label %58 unwind label %59

58:                                               ; preds = %55
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #3
  br label %64

59:                                               ; preds = %55
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7glslang5TTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #3
  resume { ptr, i32 } %60

61:                                               ; preds = %52, %47
  %62 = load i32, ptr %0, align 8, !tbaa !11
  %63 = tail call noundef i32 @_ZN7glslang13TIntermediate23computeTypeLocationSizeERKNS_5TTypeE11EShLanguage(ptr noundef nonnull align 8 dereferenceable(144) %2, i32 noundef %62)
  br label %64

64:                                               ; preds = %37, %29, %31, %42, %61, %58
  %.076 = phi i32 [ %46, %42 ], [ %57, %58 ], [ %63, %61 ], [ 1, %31 ], [ 1, %29 ], [ 1, %37 ]
  %65 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isAnyPayloadEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %65, label %68, label %66

66:                                               ; preds = %64
  %67 = call noundef zeroext i1 @_ZNK7glslang10TQualifier13isAnyCallableEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %67, label %68, label %83

68:                                               ; preds = %66, %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %69 = getelementptr inbounds i8, ptr %1, i64 28
  %70 = load i64, ptr %69, align 4
  %71 = trunc i64 %70 to i32
  %72 = and i32 %71, 4095
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef %72, i32 noundef %72)
  %73 = load i64, ptr %69, align 4
  %74 = trunc i64 %73 to i32
  %75 = and i32 %74, 4095
  %76 = call noundef i32 @_ZN7glslang13TIntermediate15checkLocationRTEii(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %.075, i32 noundef %75)
  %77 = icmp slt i32 %76, 0
  br i1 %77, label %78, label %82

78:                                               ; preds = %68
  %79 = getelementptr inbounds i8, ptr %0, i64 1552
  %80 = sext i32 %.075 to i64
  %81 = getelementptr inbounds [2 x %"class.std::vector.74"], ptr %79, i64 0, i64 %80
  call void @_ZNSt6vectorIN7glslang6TRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 4 dereferenceable(8) %6)
  br label %82

82:                                               ; preds = %78, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br label %191

83:                                               ; preds = %66
  %84 = icmp eq i32 %.076, 2
  br i1 %84, label %85, label %129

85:                                               ; preds = %83
  %86 = load ptr, ptr %2, align 8, !tbaa !9
  %87 = getelementptr inbounds i8, ptr %86, i64 56
  %88 = load ptr, ptr %87, align 8
  %89 = call noundef i32 %88(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %90 = icmp eq i32 %89, 2
  br i1 %90, label %91, label %129

91:                                               ; preds = %85
  %92 = load ptr, ptr %2, align 8, !tbaa !9
  %93 = getelementptr inbounds i8, ptr %92, i64 96
  %94 = load ptr, ptr %93, align 8
  %95 = call noundef i32 %94(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %96 = icmp eq i32 %95, 3
  br i1 %96, label %97, label %129

97:                                               ; preds = %91
  %98 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %98, label %101, label %99

99:                                               ; preds = %97
  %100 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12isPipeOutputEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %100, label %101, label %129

101:                                              ; preds = %99, %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %102 = getelementptr inbounds i8, ptr %1, i64 28
  %103 = load i64, ptr %102, align 4
  %104 = trunc i64 %103 to i32
  %105 = and i32 %104, 4095
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef %105, i32 noundef %105)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %8, i32 noundef 0, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3
  %.sroa.05.0.copyload = load i64, ptr %7, align 8
  %.sroa.04.0.copyload = load i64, ptr %8, align 8
  %106 = load ptr, ptr %2, align 8, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %106, i64 56
  %108 = load ptr, ptr %107, align 8
  %109 = call noundef i32 %108(ptr noundef nonnull align 8 dereferenceable(144) %2)
  call void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24) %9, i64 %.sroa.05.0.copyload, i64 %.sroa.04.0.copyload, i32 noundef %109, i32 noundef 0)
  %110 = call noundef i32 @_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %.074, ptr noundef nonnull align 4 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
  %111 = icmp slt i32 %110, 0
  br i1 %111, label %112, label %128

112:                                              ; preds = %101
  %113 = getelementptr inbounds i8, ptr %0, i64 1456
  %114 = sext i32 %.074 to i64
  %115 = getelementptr inbounds [4 x %"class.std::vector.69"], ptr %113, i64 0, i64 %114
  call void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %115, ptr noundef nonnull align 4 dereferenceable(24) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  %116 = load i64, ptr %102, align 4
  %117 = trunc i64 %116 to i32
  %118 = and i32 %117, 4095
  %119 = add nuw nsw i32 %118, 1
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef %119, i32 noundef %119)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef 0, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #3
  %.sroa.03.0.copyload = load i64, ptr %10, align 8
  %.sroa.02.0.copyload = load i64, ptr %11, align 8
  %120 = load ptr, ptr %2, align 8, !tbaa !9
  %121 = getelementptr inbounds i8, ptr %120, i64 56
  %122 = load ptr, ptr %121, align 8
  %123 = call noundef i32 %122(ptr noundef nonnull align 8 dereferenceable(144) %2)
  call void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24) %12, i64 %.sroa.03.0.copyload, i64 %.sroa.02.0.copyload, i32 noundef %123, i32 noundef 0)
  %124 = call noundef i32 @_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %.074, ptr noundef nonnull align 4 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
  %125 = icmp slt i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %112
  call void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %115, ptr noundef nonnull align 4 dereferenceable(24) %12)
  br label %127

127:                                              ; preds = %126, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  br label %128

128:                                              ; preds = %127, %101
  %.077 = phi i32 [ %124, %127 ], [ %110, %101 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br label %191

129:                                              ; preds = %99, %91, %85, %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  %130 = getelementptr inbounds i8, ptr %1, i64 28
  %131 = load i64, ptr %130, align 4
  %132 = trunc i64 %131 to i32
  %133 = and i32 %132, 4095
  %134 = add i32 %.076, -1
  %135 = add i32 %134, %133
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef %133, i32 noundef %135)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  call void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %14, i32 noundef 0, i32 noundef 3)
  %136 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12hasComponentEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %136, label %143, label %137

137:                                              ; preds = %129
  %138 = load ptr, ptr %2, align 8, !tbaa !9
  %139 = getelementptr inbounds i8, ptr %138, i64 96
  %140 = load ptr, ptr %139, align 8
  %141 = call noundef i32 %140(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %142 = icmp sgt i32 %141, 0
  br i1 %142, label %143, label %166

143:                                              ; preds = %137, %129
  %144 = load ptr, ptr %2, align 8, !tbaa !9
  %145 = getelementptr inbounds i8, ptr %144, i64 96
  %146 = load ptr, ptr %145, align 8
  %147 = call noundef i32 %146(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %148 = load ptr, ptr %2, align 8, !tbaa !9
  %149 = getelementptr inbounds i8, ptr %148, i64 56
  %150 = load ptr, ptr %149, align 8
  %151 = call noundef i32 %150(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %152 = icmp eq i32 %151, 2
  %153 = zext i1 %152 to i32
  %154 = shl i32 %147, %153
  %155 = call noundef zeroext i1 @_ZNK7glslang10TQualifier12hasComponentEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %155, label %156, label %._crit_edge

._crit_edge:                                      ; preds = %143
  %.pre = load i32, ptr %14, align 8, !tbaa !79
  br label %161

156:                                              ; preds = %143
  %157 = load i64, ptr %130, align 4
  %158 = trunc i64 %157 to i32
  %159 = lshr i32 %158, 12
  %160 = and i32 %159, 7
  store i32 %160, ptr %14, align 8, !tbaa !79
  br label %161

161:                                              ; preds = %._crit_edge, %156
  %162 = phi i32 [ %.pre, %._crit_edge ], [ %160, %156 ]
  %163 = add i32 %154, -1
  %164 = add i32 %163, %162
  %165 = getelementptr inbounds i8, ptr %14, i64 4
  store i32 %164, ptr %165, align 4, !tbaa !81
  br label %166

166:                                              ; preds = %161, %137
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #3
  %.sroa.01.0.copyload = load i64, ptr %13, align 8
  %.sroa.0.0.copyload = load i64, ptr %14, align 8
  %167 = load ptr, ptr %2, align 8, !tbaa !9
  %168 = getelementptr inbounds i8, ptr %167, i64 56
  %169 = load ptr, ptr %168, align 8
  %170 = call noundef i32 %169(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %171 = call noundef zeroext i1 @_ZNK7glslang10TQualifier8hasIndexEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %171, label %172, label %174

172:                                              ; preds = %166
  %173 = call noundef i32 @_ZNK7glslang10TQualifier8getIndexEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br label %174

174:                                              ; preds = %166, %172
  %175 = phi i32 [ %173, %172 ], [ 0, %166 ]
  call void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24) %15, i64 %.sroa.01.0.copyload, i64 %.sroa.0.0.copyload, i32 noundef %170, i32 noundef %175)
  %176 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate11isEsProfileEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %177 = load i32, ptr %0, align 8
  %178 = icmp ne i32 %177, 0
  %or.cond.not = select i1 %176, i1 true, i1 %178
  br i1 %or.cond.not, label %184, label %179

179:                                              ; preds = %174
  %180 = call noundef zeroext i1 @_ZNK7glslang10TQualifier11isPipeInputEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %181 = getelementptr inbounds i8, ptr %0, i64 112
  %182 = load i32, ptr %181, align 8
  %183 = icmp slt i32 %182, 1
  %or.cond84.not = select i1 %180, i1 %183, i1 false
  br i1 %or.cond84.not, label %.thread, label %184

184:                                              ; preds = %174, %179
  %185 = call noundef i32 @_ZN7glslang13TIntermediate18checkLocationRangeEiRKNS_8TIoRangeERKNS_5TTypeERb(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %.074, ptr noundef nonnull align 4 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
  %186 = icmp slt i32 %185, 0
  br i1 %186, label %.thread, label %190

.thread:                                          ; preds = %179, %184
  %.187 = phi i32 [ %185, %184 ], [ -1, %179 ]
  %187 = getelementptr inbounds i8, ptr %0, i64 1456
  %188 = sext i32 %.074 to i64
  %189 = getelementptr inbounds [4 x %"class.std::vector.69"], ptr %187, i64 0, i64 %188
  call void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %189, ptr noundef nonnull align 4 dereferenceable(24) %15)
  br label %190

190:                                              ; preds = %.thread, %184
  %.186 = phi i32 [ %.187, %.thread ], [ %185, %184 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  br label %191

191:                                              ; preds = %82, %190, %128, %27
  %.0 = phi i32 [ -1, %27 ], [ %76, %82 ], [ %.077, %128 ], [ %.186, %190 ]
  ret i32 %.0
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang6TRangeC2Eii(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7glslang6TRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7glslang8TIoRangeC2ENS_6TRangeES1_NS_10TBasicTypeEi(ptr noundef nonnull align 4 dereferenceable(24), i64, i64, i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7glslang8TIoRangeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN7glslang13TIntermediateE", !13, i64 0, !14, i64 8, !14, i64 40, !18, i64 72, !23, i64 96, !24, i64 100, !25, i64 104, !16, i64 128, !26, i64 136, !34, i64 184, !24, i64 572, !24, i64 576, !24, i64 580, !6, i64 584, !6, i64 585, !6, i64 586, !6, i64 587, !6, i64 588, !6, i64 589, !6, i64 590, !6, i64 591, !7, i64 592, !7, i64 604, !7, i64 608, !37, i64 624, !14, i64 632, !14, i64 664, !24, i64 696, !24, i64 700, !24, i64 704, !16, i64 712, !16, i64 720, !38, i64 728, !6, i64 732, !24, i64 736, !24, i64 740, !39, i64 744, !39, i64 748, !6, i64 752, !6, i64 753, !6, i64 754, !40, i64 756, !41, i64 760, !42, i64 764, !6, i64 768, !6, i64 769, !6, i64 770, !43, i64 772, !6, i64 776, !24, i64 780, !6, i64 784, !44, i64 792, !6, i64 816, !6, i64 817, !6, i64 818, !24, i64 820, !48, i64 824, !24, i64 828, !24, i64 832, !6, i64 836, !49, i64 840, !50, i64 864, !51, i64 1152, !6, i64 1176, !6, i64 1177, !6, i64 1178, !6, i64 1179, !6, i64 1180, !6, i64 1181, !6, i64 1182, !55, i64 1184, !60, i64 1232, !6, i64 1236, !6, i64 1237, !6, i64 1238, !6, i64 1239, !16, i64 1240, !16, i64 1248, !61, i64 1256, !24, i64 1312, !66, i64 1316, !67, i64 1320, !69, i64 1376, !71, i64 1432, !7, i64 1456, !7, i64 1552, !55, i64 1600, !14, i64 1648, !14, i64 1680, !75, i64 1712, !78, i64 1760}
!13 = !{!"_ZTS11EShLanguage", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !17, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !16, i64 0}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSNSt7__cxx114listIN7glslang5TCallESaIS2_EEE", !19, i64 0}
!19 = !{!"_ZTSNSt7__cxx1110_List_baseIN7glslang5TCallESaIS2_EEE", !20, i64 0}
!20 = !{!"_ZTSNSt7__cxx1110_List_baseIN7glslang5TCallESaIS2_EE10_List_implE", !21, i64 0}
!21 = !{!"_ZTSNSt8__detail17_List_node_headerE", !22, i64 0, !17, i64 16}
!22 = !{!"_ZTSNSt8__detail15_List_node_baseE", !16, i64 0, !16, i64 8}
!23 = !{!"_ZTS8EProfile", !7, i64 0}
!24 = !{!"int", !7, i64 0}
!25 = !{!"_ZTSN7glslang10SpvVersionE", !24, i64 0, !24, i64 4, !24, i64 8, !24, i64 12, !6, i64 16}
!26 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !29, i64 0, !31, i64 8}
!29 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !30, i64 0}
!30 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!31 = !{!"_ZTSSt15_Rb_tree_header", !32, i64 0, !17, i64 32}
!32 = !{!"_ZTSSt18_Rb_tree_node_base", !33, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!33 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!34 = !{!"_ZTSN7glslang14MustBeAssignedI16TBuiltInResourceEE", !35, i64 0, !6, i64 384}
!35 = !{!"_ZTS16TBuiltInResource", !24, i64 0, !24, i64 4, !24, i64 8, !24, i64 12, !24, i64 16, !24, i64 20, !24, i64 24, !24, i64 28, !24, i64 32, !24, i64 36, !24, i64 40, !24, i64 44, !24, i64 48, !24, i64 52, !24, i64 56, !24, i64 60, !24, i64 64, !24, i64 68, !24, i64 72, !24, i64 76, !24, i64 80, !24, i64 84, !24, i64 88, !24, i64 92, !24, i64 96, !24, i64 100, !24, i64 104, !24, i64 108, !24, i64 112, !24, i64 116, !24, i64 120, !24, i64 124, !24, i64 128, !24, i64 132, !24, i64 136, !24, i64 140, !24, i64 144, !24, i64 148, !24, i64 152, !24, i64 156, !24, i64 160, !24, i64 164, !24, i64 168, !24, i64 172, !24, i64 176, !24, i64 180, !24, i64 184, !24, i64 188, !24, i64 192, !24, i64 196, !24, i64 200, !24, i64 204, !24, i64 208, !24, i64 212, !24, i64 216, !24, i64 220, !24, i64 224, !24, i64 228, !24, i64 232, !24, i64 236, !24, i64 240, !24, i64 244, !24, i64 248, !24, i64 252, !24, i64 256, !24, i64 260, !24, i64 264, !24, i64 268, !24, i64 272, !24, i64 276, !24, i64 280, !24, i64 284, !24, i64 288, !24, i64 292, !24, i64 296, !24, i64 300, !24, i64 304, !24, i64 308, !24, i64 312, !24, i64 316, !24, i64 320, !24, i64 324, !24, i64 328, !24, i64 332, !24, i64 336, !24, i64 340, !24, i64 344, !24, i64 348, !24, i64 352, !24, i64 356, !24, i64 360, !24, i64 364, !24, i64 368, !36, i64 372}
!36 = !{!"_ZTS7TLimits", !6, i64 0, !6, i64 1, !6, i64 2, !6, i64 3, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !6, i64 8}
!37 = !{!"long long", !7, i64 0}
!38 = !{!"_ZTSN7glslang9EShSourceE", !7, i64 0}
!39 = !{!"_ZTSN7glslang15TLayoutGeometryE", !7, i64 0}
!40 = !{!"_ZTSN7glslang14TVertexSpacingE", !7, i64 0}
!41 = !{!"_ZTSN7glslang12TVertexOrderE", !7, i64 0}
!42 = !{!"_ZTSN7glslang18TInterlockOrderingE", !7, i64 0}
!43 = !{!"_ZTSN7glslang12TLayoutDepthE", !7, i64 0}
!44 = !{!"_ZTSSt6vectorIN7glslang10TXfbBufferESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN7glslang10TXfbBufferESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN7glslang10TXfbBufferESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN7glslang10TXfbBufferESaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!48 = !{!"_ZTSN7glslang21ComputeDerivativeModeE", !7, i64 0}
!49 = !{!"_ZTSSt5arrayIjLm6EE", !7, i64 0}
!50 = !{!"_ZTSSt5arrayISt3mapIiiSt4lessIiESaISt4pairIKiiEEELm6EE", !7, i64 0}
!51 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!55 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEESt4lessIS7_ESaIS7_EE", !56, i64 0}
!56 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEES7_St9_IdentityIS7_ESt4lessIS7_ESaIS7_EE", !57, i64 0}
!57 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEES7_St9_IdentityIS7_ESt4lessIS7_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !58, i64 0, !31, i64 8}
!58 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEEE", !59, i64 0}
!59 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEEE"}
!60 = !{!"_ZTS30EShTextureSamplerTransformMode", !7, i64 0}
!61 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !62, i64 0}
!62 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !16, i64 0, !17, i64 8, !63, i64 16, !17, i64 24, !64, i64 32, !16, i64 48}
!63 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !16, i64 0}
!64 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !65, i64 0, !17, i64 8}
!65 = !{!"float", !7, i64 0}
!66 = !{!"_ZTSN7glslang16TNumericFeaturesE", !24, i64 0}
!67 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7glslang18TBlockStorageClassESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE", !68, i64 0}
!68 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N7glslang18TBlockStorageClassEESaISA_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !16, i64 0, !17, i64 8, !63, i64 16, !17, i64 24, !64, i64 32, !16, i64 48}
!69 = !{!"_ZTSSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE", !70, i64 0}
!70 = !{!"_ZTSSt10_HashtableIiiSaIiENSt8__detail9_IdentityESt8equal_toIiESt4hashIiENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !16, i64 0, !17, i64 8, !63, i64 16, !17, i64 24, !64, i64 32, !16, i64 48}
!71 = !{!"_ZTSSt6vectorIN7glslang12TOffsetRangeESaIS1_EE", !72, i64 0}
!72 = !{!"_ZTSSt12_Vector_baseIN7glslang12TOffsetRangeESaIS1_EE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIN7glslang12TOffsetRangeESaIS1_EE12_Vector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIN7glslang12TOffsetRangeESaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!75 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !76, i64 0}
!76 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !77, i64 0}
!77 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !29, i64 0, !31, i64 8}
!78 = !{!"_ZTSN7glslang10TProcessesE", !51, i64 0}
!79 = !{!80, !24, i64 0}
!80 = !{!"_ZTSN7glslang6TRangeE", !24, i64 0, !24, i64 4}
!81 = !{!80, !24, i64 4}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass