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

; 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::TIntermediate" = type { i32, %"class.std::__cxx11::basic_string.1", %"class.std::__cxx11::basic_string.1", %"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.1", %"class.std::__cxx11::basic_string.1", 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.12", %"class.std::vector.18", i8, i8, i8, i8, i8, i8, i8, %"class.std::set.23", i32, i8, i8, i8, i8, ptr, ptr, %"class.std::unordered_map", i32, %"class.glslang::TNumericFeatures", %"class.std::unordered_map.34", %"class.std::unordered_set", %"class.std::vector.67", [4 x %"class.std::vector.72"], [2 x %"class.std::vector.77"], %"class.std::set.23", %"class.std::__cxx11::basic_string.1", %"class.std::__cxx11::basic_string.1", %"class.std::map.82", %"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.12" = type { [6 x %"class.std::map"] }
%"class.std::map" = type { %"class.std::_Rb_tree.13" }
%"class.std::_Rb_tree.13" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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.34" = type { %"class.std::_Hashtable.35" }
%"class.std::_Hashtable.35" = 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.48" }
%"class.std::_Hashtable.48" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.67" = type { %"struct.std::_Vector_base.68" }
%"struct.std::_Vector_base.68" = 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.72" = type { %"struct.std::_Vector_base.73" }
%"struct.std::_Vector_base.73" = 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.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = 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.23" = type { %"class.std::_Rb_tree.24" }
%"class.std::_Rb_tree.24" = 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.1" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.2 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.2 = type { i64, [8 x i8] }
%"class.std::map.82" = type { %"class.std::_Rb_tree.83" }
%"class.std::_Rb_tree.83" = 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.18" }

; 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: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %13 = load ptr, ptr %6, align 8
  %14 = load i32, ptr %7, align 4, !tbaa !9
  %15 = load ptr, ptr %9, align 8, !tbaa !5
  %16 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %13, i32 noundef %14, ptr noundef %15)
  br i1 %16, label %18, label %17

17:                                               ; preds = %4
  store ptr null, ptr %5, align 8
  br label %228

18:                                               ; preds = %4
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds ptr, ptr %21, i64 30
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef nonnull align 8 dereferenceable(144) ptr %23(ptr noundef nonnull align 8 dereferenceable(176) %20)
  %25 = call noundef zeroext i1 @_ZNK7glslang5TTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %19, ptr noundef nonnull align 8 dereferenceable(144) %24)
  br i1 %25, label %26, label %28

26:                                               ; preds = %18
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %27, ptr %5, align 8
  br label %228

28:                                               ; preds = %18
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds ptr, ptr %30, i64 35
  %32 = load ptr, ptr %31, align 8
  %33 = call noundef zeroext i1 %32(ptr noundef nonnull align 8 dereferenceable(144) %29)
  br i1 %33, label %40, label %34

34:                                               ; preds = %28
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = getelementptr inbounds ptr, ptr %36, i64 45
  %38 = load ptr, ptr %37, align 8
  %39 = call noundef zeroext i1 %38(ptr noundef nonnull align 8 dereferenceable(176) %35)
  br i1 %39, label %40, label %41

40:                                               ; preds = %34, %28
  store ptr null, ptr %5, align 8
  br label %228

41:                                               ; preds = %34
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds ptr, ptr %43, i64 29
  %45 = load ptr, ptr %44, align 8
  %46 = call noundef zeroext i1 %45(ptr noundef nonnull align 8 dereferenceable(144) %42)
  br i1 %46, label %57, label %47

47:                                               ; preds = %41
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = getelementptr inbounds ptr, ptr %49, i64 30
  %51 = load ptr, ptr %50, align 8
  %52 = call noundef nonnull align 8 dereferenceable(144) ptr %51(ptr noundef nonnull align 8 dereferenceable(176) %48)
  %53 = load ptr, ptr %52, align 8, !tbaa !11
  %54 = getelementptr inbounds ptr, ptr %53, i64 29
  %55 = load ptr, ptr %54, align 8
  %56 = call noundef zeroext i1 %55(ptr noundef nonnull align 8 dereferenceable(144) %52)
  br i1 %56, label %57, label %58

57:                                               ; preds = %47, %41
  store ptr null, ptr %5, align 8
  br label %228

58:                                               ; preds = %47
  %59 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %59, label %147 [
    i32 474, label %60
    i32 475, label %60
    i32 466, label %60
    i32 467, label %60
    i32 476, label %60
    i32 555, label %60
    i32 468, label %60
    i32 469, label %60
    i32 470, label %60
    i32 471, label %60
    i32 472, label %60
    i32 473, label %60
    i32 8, label %61
    i32 3, label %61
    i32 460, label %61
    i32 575, label %61
    i32 576, label %61
    i32 577, label %61
    i32 578, label %61
    i32 580, label %61
    i32 581, label %61
    i32 583, label %61
    i32 584, label %61
    i32 585, label %61
    i32 586, label %61
    i32 587, label %61
    i32 193, label %61
    i32 218, label %61
    i32 274, label %61
    i32 272, label %61
    i32 273, label %61
    i32 732, label %61
    i32 276, label %61
    i32 224, label %61
    i32 225, label %61
    i32 226, label %61
    i32 219, label %61
    i32 750, label %61
    i32 217, label %61
    i32 216, label %61
    i32 158, label %61
    i32 215, label %61
    i32 200, label %61
    i32 277, label %61
    i32 278, label %61
    i32 221, label %61
    i32 220, label %61
    i32 1, label %61
    i32 568, label %61
    i32 572, label %61
    i32 588, label %115
    i32 589, label %115
  ]

60:                                               ; preds = %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58
  br label %166

61:                                               ; preds = %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58, %58
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call noundef zeroext i1 @_ZNK7glslang5TType11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(144) %62)
  br i1 %63, label %71, label %64

64:                                               ; preds = %61
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = getelementptr inbounds ptr, ptr %66, i64 30
  %68 = load ptr, ptr %67, align 8
  %69 = call noundef nonnull align 8 dereferenceable(144) ptr %68(ptr noundef nonnull align 8 dereferenceable(176) %65)
  %70 = call noundef zeroext i1 @_ZNK7glslang5TType11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(144) %69)
  br i1 %70, label %71, label %82

71:                                               ; preds = %64, %61
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = getelementptr inbounds ptr, ptr %74, i64 30
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef nonnull align 8 dereferenceable(144) ptr %76(ptr noundef nonnull align 8 dereferenceable(176) %73)
  %78 = call noundef zeroext i1 @_ZNK7glslang5TTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %72, ptr noundef nonnull align 8 dereferenceable(144) %77)
  br i1 %78, label %79, label %81

79:                                               ; preds = %71
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %80, ptr %5, align 8
  br label %228

81:                                               ; preds = %71
  store ptr null, ptr %5, align 8
  br label %228

82:                                               ; preds = %64
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load ptr, ptr %83, align 8, !tbaa !11
  %85 = getelementptr inbounds ptr, ptr %84, i64 7
  %86 = load ptr, ptr %85, align 8
  %87 = call noundef i32 %86(ptr noundef nonnull align 8 dereferenceable(144) %83)
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  %90 = getelementptr inbounds ptr, ptr %89, i64 30
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef nonnull align 8 dereferenceable(144) ptr %91(ptr noundef nonnull align 8 dereferenceable(176) %88)
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds ptr, ptr %93, i64 7
  %95 = load ptr, ptr %94, align 8
  %96 = call noundef i32 %95(ptr noundef nonnull align 8 dereferenceable(144) %92)
  %97 = icmp eq i32 %87, %96
  br i1 %97, label %98, label %100

98:                                               ; preds = %82
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %99, ptr %5, align 8
  br label %228

100:                                              ; preds = %82
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load ptr, ptr %101, align 8, !tbaa !11
  %103 = getelementptr inbounds ptr, ptr %102, i64 32
  %104 = load ptr, ptr %103, align 8
  %105 = call noundef i32 %104(ptr noundef nonnull align 8 dereferenceable(176) %101)
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = load ptr, ptr %106, align 8, !tbaa !11
  %108 = getelementptr inbounds ptr, ptr %107, i64 7
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef i32 %109(ptr noundef nonnull align 8 dereferenceable(144) %106)
  %111 = load i32, ptr %7, align 4, !tbaa !9
  %112 = call noundef zeroext i1 @_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %13, i32 noundef %105, i32 noundef %110, i32 noundef %111)
  br i1 %112, label %114, label %113

113:                                              ; preds = %100
  store ptr null, ptr %5, align 8
  br label %228

114:                                              ; preds = %100
  br label %166

115:                                              ; preds = %58, %58
  %116 = call noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784) %13)
  %117 = icmp eq i32 %116, 2
  br i1 %117, label %118, label %129

118:                                              ; preds = %115
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = load ptr, ptr %119, align 8, !tbaa !11
  %121 = getelementptr inbounds ptr, ptr %120, i64 30
  %122 = load ptr, ptr %121, align 8
  %123 = call noundef nonnull align 8 dereferenceable(144) ptr %122(ptr noundef nonnull align 8 dereferenceable(176) %119)
  %124 = load ptr, ptr %123, align 8, !tbaa !11
  %125 = getelementptr inbounds ptr, ptr %124, i64 7
  %126 = load ptr, ptr %125, align 8
  %127 = call noundef i32 %126(ptr noundef nonnull align 8 dereferenceable(144) %123)
  %128 = icmp eq i32 %127, 12
  br i1 %128, label %146, label %129

129:                                              ; preds = %118, %115
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = load ptr, ptr %130, align 8, !tbaa !11
  %132 = getelementptr inbounds ptr, ptr %131, i64 7
  %133 = load ptr, ptr %132, align 8
  %134 = call noundef i32 %133(ptr noundef nonnull align 8 dereferenceable(144) %130)
  %135 = call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %134)
  br i1 %135, label %136, label %145

136:                                              ; preds = %129
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = load ptr, ptr %137, align 8, !tbaa !11
  %139 = getelementptr inbounds ptr, ptr %138, i64 32
  %140 = load ptr, ptr %139, align 8
  %141 = call noundef i32 %140(ptr noundef nonnull align 8 dereferenceable(176) %137)
  %142 = call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %141)
  br i1 %142, label %143, label %145

143:                                              ; preds = %136
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %144, ptr %5, align 8
  br label %228

145:                                              ; preds = %136, %129
  store ptr null, ptr %5, align 8
  br label %228

146:                                              ; preds = %118
  br label %166

147:                                              ; preds = %58
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = load ptr, ptr %148, align 8, !tbaa !11
  %150 = getelementptr inbounds ptr, ptr %149, i64 7
  %151 = load ptr, ptr %150, align 8
  %152 = call noundef i32 %151(ptr noundef nonnull align 8 dereferenceable(144) %148)
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = load ptr, ptr %153, align 8, !tbaa !11
  %155 = getelementptr inbounds ptr, ptr %154, i64 30
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef nonnull align 8 dereferenceable(144) ptr %156(ptr noundef nonnull align 8 dereferenceable(176) %153)
  %158 = load ptr, ptr %157, align 8, !tbaa !11
  %159 = getelementptr inbounds ptr, ptr %158, i64 7
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef i32 %160(ptr noundef nonnull align 8 dereferenceable(144) %157)
  %162 = icmp eq i32 %152, %161
  br i1 %162, label %163, label %165

163:                                              ; preds = %147
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %164, ptr %5, align 8
  br label %228

165:                                              ; preds = %147
  store ptr null, ptr %5, align 8
  br label %228

166:                                              ; preds = %146, %114, %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  store i8 1, ptr %10, align 1, !tbaa !13
  %167 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %167, label %195 [
    i32 555, label %168
    i32 468, label %177
    i32 469, label %177
    i32 470, label %186
    i32 471, label %186
  ]

168:                                              ; preds = %166
  %169 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %13, i32 0, i32 80
  %170 = call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %169, i32 noundef 1)
  br i1 %170, label %174, label %171

171:                                              ; preds = %168
  %172 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %13, i32 0, i32 80
  %173 = call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %172, i32 noundef 32)
  br label %174

174:                                              ; preds = %171, %168
  %175 = phi i1 [ true, %168 ], [ %173, %171 ]
  %176 = zext i1 %175 to i8
  store i8 %176, ptr %10, align 1, !tbaa !13
  br label %196

177:                                              ; preds = %166, %166
  %178 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %13, i32 0, i32 80
  %179 = call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %178, i32 noundef 1)
  br i1 %179, label %183, label %180

180:                                              ; preds = %177
  %181 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %13, i32 0, i32 80
  %182 = call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %181, i32 noundef 2)
  br label %183

183:                                              ; preds = %180, %177
  %184 = phi i1 [ true, %177 ], [ %182, %180 ]
  %185 = zext i1 %184 to i8
  store i8 %185, ptr %10, align 1, !tbaa !13
  br label %196

186:                                              ; preds = %166, %166
  %187 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %13, i32 0, i32 80
  %188 = call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %187, i32 noundef 1)
  br i1 %188, label %192, label %189

189:                                              ; preds = %186
  %190 = getelementptr inbounds %"class.glslang::TIntermediate", ptr %13, i32 0, i32 80
  %191 = call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %190, i32 noundef 4)
  br label %192

192:                                              ; preds = %189, %186
  %193 = phi i1 [ true, %186 ], [ %191, %189 ]
  %194 = zext i1 %193 to i8
  store i8 %194, ptr %10, align 1, !tbaa !13
  br label %196

195:                                              ; preds = %166
  br label %196

196:                                              ; preds = %195, %192, %183, %174
  %197 = load i8, ptr %10, align 1, !tbaa !13, !range !15, !noundef !16
  %198 = trunc i8 %197 to i1
  br i1 %198, label %199, label %218

199:                                              ; preds = %196
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = load ptr, ptr %200, align 8, !tbaa !11
  %202 = getelementptr inbounds ptr, ptr %201, i64 5
  %203 = load ptr, ptr %202, align 8
  %204 = call noundef ptr %203(ptr noundef nonnull align 8 dereferenceable(32) %200)
  %205 = icmp ne ptr %204, null
  br i1 %205, label %206, label %218

206:                                              ; preds = %199
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = load ptr, ptr %207, align 8, !tbaa !11
  %209 = getelementptr inbounds ptr, ptr %208, i64 7
  %210 = load ptr, ptr %209, align 8
  %211 = call noundef i32 %210(ptr noundef nonnull align 8 dereferenceable(144) %207)
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = load ptr, ptr %212, align 8, !tbaa !11
  %214 = getelementptr inbounds ptr, ptr %213, i64 5
  %215 = load ptr, ptr %214, align 8
  %216 = call noundef ptr %215(ptr noundef nonnull align 8 dereferenceable(32) %212)
  %217 = call noundef ptr @_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE(ptr noundef nonnull align 8 dereferenceable(1784) %13, i32 noundef %211, ptr noundef %216)
  store ptr %217, ptr %5, align 8
  store i32 1, ptr %11, align 4
  br label %227

218:                                              ; preds = %199, %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = load ptr, ptr %219, align 8, !tbaa !11
  %221 = getelementptr inbounds ptr, ptr %220, i64 7
  %222 = load ptr, ptr %221, align 8
  %223 = call noundef i32 %222(ptr noundef nonnull align 8 dereferenceable(144) %219)
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = call noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %13, i32 noundef %223, ptr noundef %224)
  store ptr %225, ptr %12, align 8, !tbaa !5
  %226 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %226, ptr %5, align 8
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %227

227:                                              ; preds = %218, %206
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %228

228:                                              ; preds = %227, %165, %163, %145, %143, %113, %98, %81, %79, %57, %40, %26, %17
  %229 = load ptr, ptr %5, align 8
  ret ptr %229
}

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN7glslang9TOperatorE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}


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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %1, ptr noundef %3)
  br i1 %5, label %6, label %151

6:                                                ; preds = %4
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 240
  %9 = load ptr, ptr %8, align 8
  %10 = tail call noundef nonnull align 8 dereferenceable(144) ptr %9(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %11 = tail call noundef zeroext i1 @_ZNK7glslang5TTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 8 dereferenceable(144) %10)
  br i1 %11, label %151, label %12

12:                                               ; preds = %6
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 280
  %15 = load ptr, ptr %14, align 8
  %16 = tail call noundef zeroext i1 %15(ptr noundef nonnull align 8 dereferenceable(144) %2)
  br i1 %16, label %151, label %17

17:                                               ; preds = %12
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 360
  %20 = load ptr, ptr %19, align 8
  %21 = tail call noundef zeroext i1 %20(ptr noundef nonnull align 8 dereferenceable(176) %3)
  br i1 %21, label %151, label %22

22:                                               ; preds = %17
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 232
  %25 = load ptr, ptr %24, align 8
  %26 = tail call noundef zeroext i1 %25(ptr noundef nonnull align 8 dereferenceable(144) %2)
  br i1 %26, label %151, label %27

27:                                               ; preds = %22
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 240
  %30 = load ptr, ptr %29, align 8
  %31 = tail call noundef nonnull align 8 dereferenceable(144) ptr %30(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 232
  %34 = load ptr, ptr %33, align 8
  %35 = tail call noundef zeroext i1 %34(ptr noundef nonnull align 8 dereferenceable(144) %31)
  br i1 %35, label %151, label %36

36:                                               ; preds = %27
  switch i32 %1, label %101 [
    i32 589, label %75
    i32 588, label %75
    i32 572, label %37
    i32 568, label %37
    i32 1, label %37
    i32 220, label %37
    i32 221, label %37
    i32 278, label %37
    i32 277, label %37
    i32 200, label %37
    i32 215, label %37
    i32 158, label %37
    i32 8, label %37
    i32 3, label %37
    i32 460, label %37
    i32 575, label %37
    i32 576, label %37
    i32 577, label %37
    i32 578, label %37
    i32 580, label %37
    i32 581, label %37
    i32 583, label %37
    i32 584, label %37
    i32 585, label %37
    i32 586, label %37
    i32 587, label %37
    i32 193, label %37
    i32 218, label %37
    i32 274, label %37
    i32 272, label %37
    i32 273, label %37
    i32 732, label %37
    i32 276, label %37
    i32 224, label %37
    i32 225, label %37
    i32 226, label %37
    i32 219, label %37
    i32 750, label %37
    i32 217, label %37
    i32 216, label %37
    i32 555, label %116
    i32 468, label %121
    i32 469, label %121
    i32 470, label %126
    i32 471, label %126
    i32 466, label %.critedge
    i32 467, label %.critedge
    i32 472, label %.critedge
    i32 473, label %.critedge
    i32 474, label %.critedge
    i32 475, label %.critedge
    i32 476, label %.critedge
  ]

37:                                               ; preds = %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36, %36
  %38 = tail call noundef zeroext i1 @_ZNK7glslang5TType11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(144) %2)
  br i1 %38, label %45, label %39

39:                                               ; preds = %37
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 240
  %42 = load ptr, ptr %41, align 8
  %43 = tail call noundef nonnull align 8 dereferenceable(144) ptr %42(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %44 = tail call noundef zeroext i1 @_ZNK7glslang5TType11isReferenceEv(ptr noundef nonnull align 8 dereferenceable(144) %43)
  br i1 %44, label %45, label %51

45:                                               ; preds = %39, %37
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 240
  %48 = load ptr, ptr %47, align 8
  %49 = tail call noundef nonnull align 8 dereferenceable(144) ptr %48(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %50 = tail call noundef zeroext i1 @_ZNK7glslang5TTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull align 8 dereferenceable(144) %49)
  %. = select i1 %50, ptr %3, ptr null
  br label %151

51:                                               ; preds = %39
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 56
  %54 = load ptr, ptr %53, align 8
  %55 = tail call noundef i32 %54(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 240
  %58 = load ptr, ptr %57, align 8
  %59 = tail call noundef nonnull align 8 dereferenceable(144) ptr %58(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 56
  %62 = load ptr, ptr %61, align 8
  %63 = tail call noundef i32 %62(ptr noundef nonnull align 8 dereferenceable(144) %59)
  %64 = icmp eq i32 %55, %63
  br i1 %64, label %151, label %65

65:                                               ; preds = %51
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 256
  %68 = load ptr, ptr %67, align 8
  %69 = tail call noundef i32 %68(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 56
  %72 = load ptr, ptr %71, align 8
  %73 = tail call noundef i32 %72(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %74 = tail call noundef zeroext i1 @_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %69, i32 noundef %73, i32 noundef %1)
  br i1 %74, label %115, label %151

75:                                               ; preds = %36, %36
  %76 = tail call noundef i32 @_ZNK7glslang13TIntermediate9getSourceEv(ptr noundef nonnull align 8 dereferenceable(1784) %0)
  %77 = icmp eq i32 %76, 2
  br i1 %77, label %78, label %88

78:                                               ; preds = %75
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 240
  %81 = load ptr, ptr %80, align 8
  %82 = tail call noundef nonnull align 8 dereferenceable(144) ptr %81(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %83 = load ptr, ptr %82, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 56
  %85 = load ptr, ptr %84, align 8
  %86 = tail call noundef i32 %85(ptr noundef nonnull align 8 dereferenceable(144) %82)
  %87 = icmp eq i32 %86, 12
  br i1 %87, label %115, label %88

88:                                               ; preds = %78, %75
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %89, i64 56
  %91 = load ptr, ptr %90, align 8
  %92 = tail call noundef i32 %91(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %93 = tail call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %92)
  br i1 %93, label %94, label %100

94:                                               ; preds = %88
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %95, i64 256
  %97 = load ptr, ptr %96, align 8
  %98 = tail call noundef i32 %97(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %99 = tail call noundef zeroext i1 @_ZN7glslang9isTypeIntENS_10TBasicTypeE(i32 noundef %98)
  br i1 %99, label %151, label %100

100:                                              ; preds = %94, %88
  br label %151

101:                                              ; preds = %36
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 56
  %104 = load ptr, ptr %103, align 8
  %105 = tail call noundef i32 %104(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %106, i64 240
  %108 = load ptr, ptr %107, align 8
  %109 = tail call noundef nonnull align 8 dereferenceable(144) ptr %108(ptr noundef nonnull align 8 dereferenceable(176) %3)
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 56
  %112 = load ptr, ptr %111, align 8
  %113 = tail call noundef i32 %112(ptr noundef nonnull align 8 dereferenceable(144) %109)
  %114 = icmp eq i32 %105, %113
  %.38 = select i1 %114, ptr %3, ptr null
  br label %151

115:                                              ; preds = %78, %65
  switch i32 %1, label %.critedge [
    i32 555, label %116
    i32 468, label %121
    i32 469, label %121
    i32 470, label %126
    i32 471, label %126
  ]

116:                                              ; preds = %36, %115
  %117 = getelementptr inbounds i8, ptr %0, i64 1316
  %118 = tail call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %117, i32 noundef 1)
  br i1 %118, label %.critedge, label %119

119:                                              ; preds = %116
  %120 = tail call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %117, i32 noundef 32)
  br i1 %120, label %.critedge, label %145

121:                                              ; preds = %36, %36, %115, %115
  %122 = getelementptr inbounds i8, ptr %0, i64 1316
  %123 = tail call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %122, i32 noundef 1)
  br i1 %123, label %.critedge, label %124

124:                                              ; preds = %121
  %125 = tail call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %122, i32 noundef 2)
  br i1 %125, label %.critedge, label %145

126:                                              ; preds = %36, %36, %115, %115
  %127 = getelementptr inbounds i8, ptr %0, i64 1316
  %128 = tail call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %127, i32 noundef 1)
  br i1 %128, label %.critedge, label %129

129:                                              ; preds = %126
  %130 = tail call noundef zeroext i1 @_ZNK7glslang16TNumericFeatures8containsENS0_7featureE(ptr noundef nonnull align 4 dereferenceable(4) %127, i32 noundef 4)
  br i1 %130, label %.critedge, label %145

.critedge:                                        ; preds = %124, %119, %115, %36, %36, %36, %36, %36, %36, %36, %116, %121, %126, %129
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 40
  %133 = load ptr, ptr %132, align 8
  %134 = tail call noundef ptr %133(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %.not = icmp eq ptr %134, null
  br i1 %.not, label %145, label %135

135:                                              ; preds = %.critedge
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %136, i64 56
  %138 = load ptr, ptr %137, align 8
  %139 = tail call noundef i32 %138(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %140, i64 40
  %142 = load ptr, ptr %141, align 8
  %143 = tail call noundef ptr %142(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %144 = tail call noundef ptr @_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %139, ptr noundef %143)
  br label %151

145:                                              ; preds = %124, %119, %.critedge, %129
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %146, i64 56
  %148 = load ptr, ptr %147, align 8
  %149 = tail call noundef i32 %148(ptr noundef nonnull align 8 dereferenceable(144) %2)
  %150 = tail call noundef ptr @_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE(ptr noundef nonnull align 8 dereferenceable(1784) %0, i32 noundef %149, ptr noundef nonnull %3)
  br label %151

151:                                              ; preds = %135, %145, %101, %94, %65, %51, %45, %22, %27, %12, %17, %6, %4, %100
  %.1 = phi ptr [ null, %100 ], [ null, %4 ], [ %3, %6 ], [ null, %17 ], [ null, %12 ], [ null, %27 ], [ null, %22 ], [ %., %45 ], [ %3, %51 ], [ null, %65 ], [ %3, %94 ], [ %.38, %101 ], [ %144, %135 ], [ %150, %145 ]
  ret ptr %.1
}

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

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

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

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

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

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

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

attributes #0 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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