; LLVM IR from Try/Tempest :: Engine/gapi/spirv (shaderanalyzer)

; 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.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] }
%"struct.libspirv::MutableBytecode::Iterator" = type { %"struct.libspirv::Bytecode::Iterator.base", ptr }
%"struct.libspirv::Bytecode::Iterator.base" = type <{ ptr, i32 }>
%"struct.std::__detail::_Node_iterator.83" = type { %"struct.std::__detail::_Node_iterator_base.84" }
%"struct.std::__detail::_Node_iterator_base.84" = type { ptr }
%class.ShaderAnalyzer = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [768 x i32], [768 x i32], [4 x i8], %"class.std::unordered_map", ptr, %"class.libspirv::MutableBytecode", %"class.std::unordered_map.13", %"class.std::unordered_map.27", %"class.std::unordered_map.41", %"class.std::unordered_map.55", %"class.std::unordered_map.69", i32, [4 x i8] }>
%"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.libspirv::MutableBytecode" = type { %"class.libspirv::Bytecode.base", %"class.std::vector.8" }
%"class.libspirv::Bytecode.base" = type <{ ptr, i64, i32 }>
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl" }
%"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl" = type { %"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<libspirv::Bytecode::OpCode, std::allocator<libspirv::Bytecode::OpCode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.13" = type { %"class.std::_Hashtable.14" }
%"class.std::_Hashtable.14" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.27" = type { %"class.std::_Hashtable.28" }
%"class.std::_Hashtable.28" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.41" = type { %"class.std::_Hashtable.42" }
%"class.std::_Hashtable.42" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.55" = type { %"class.std::_Hashtable.56" }
%"class.std::_Hashtable.56" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.69" = type { %"class.std::_Hashtable.70" }
%"class.std::_Hashtable.70" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.ShaderAnalyzer::Reg" = type { i32, [4 x i8], %"struct.ShaderAnalyzer::Value" }
%"struct.ShaderAnalyzer::Value" = type <{ i16, [6 x i8], %"struct.ShaderAnalyzer::AccessChain", [4 x i32], i8, [7 x i8] }>
%"struct.ShaderAnalyzer::AccessChain" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ShaderAnalyzer::CFG" = type { i8 }
%"struct.ShaderAnalyzer::Function" = type <{ i32, i8, i8, i16, i16, i8, i8, [4 x i8], ptr, i32, [4 x i8] }>
%"struct.std::pair.85" = type { i32, %"struct.ShaderAnalyzer::Var" }
%"struct.ShaderAnalyzer::Var" = type { i32, [4 x i8], %"struct.ShaderAnalyzer::Value", ptr }

@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer5toStrB5cxx11ENS_10AccessBitsE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i16 noundef zeroext) #0 align 2

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

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) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext, i16 noundef zeroext) #2

declare void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4), i16 noundef zeroext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

declare noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer11analyzeFuncEjRKN8libspirv8Bytecode6OpCodeE(ptr noundef nonnull align 8 dereferenceable(6596), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(12) %3, i16 noundef zeroext %4, i32 noundef %5, i32 noundef %6) #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i16, align 2
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i16, align 2
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.std::__detail::_Node_iterator.83", align 8
  %36 = alloca %"struct.std::__detail::_Node_iterator.83", align 8
  %37 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i16 %4, ptr %12, align 2, !tbaa !11
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  %38 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %39 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 22
  %40 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %39, ptr noundef nonnull align 4 dereferenceable(4) %9)
  store ptr %40, ptr %15, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %269, %7
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %43 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 17
  %44 = load ptr, ptr %43, align 8, !tbaa !13
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %16, ptr noundef nonnull align 8 dereferenceable(48) %44)
  %45 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %42, ptr noundef nonnull align 8 dereferenceable(12) %16)
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  br i1 %45, label %46, label %272

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %47)
  store ptr %48, ptr %17, align 8, !tbaa !5
  %49 = load ptr, ptr %17, align 8, !tbaa !5
  %50 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %49)
  switch i32 %50, label %260 [
    i32 56, label %51
    i32 253, label %52
    i32 254, label %53
    i32 247, label %77
    i32 246, label %173
    i32 248, label %176
    i32 57, label %184
    i32 224, label %229
    i32 225, label %229
  ]

51:                                               ; preds = %46
  store i32 1, ptr %18, align 4
  br label %266

52:                                               ; preds = %46
  call void @_ZN14ShaderAnalyzer3logIJA11_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(11) @.str.18)
  br label %265

53:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %54, i16 noundef zeroext 2)
  %56 = load i32, ptr %55, align 4, !tbaa !9
  store i32 %56, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %57 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 19
  %58 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %57, ptr noundef nonnull align 4 dereferenceable(4) %19)
  store ptr %58, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %59 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 19
  %60 = load ptr, ptr %17, align 8, !tbaa !5
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %60, i16 noundef zeroext 1)
  %62 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %59, ptr noundef nonnull align 4 dereferenceable(4) %61)
  store ptr %62, ptr %21, align 8, !tbaa !5
  %63 = load ptr, ptr %21, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %20, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %65, i32 0, i32 2
  %67 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %66, ptr noundef nonnull align 8 dereferenceable(49) %64)
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #5
  %68 = load ptr, ptr %21, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %68, i32 0, i32 2
  %70 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %69, i32 0, i32 0
  %71 = load i16, ptr %70, align 8, !tbaa !37
  call void @_ZN14ShaderAnalyzer5toStrB5cxx11ENS_10AccessBitsE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %22, i16 noundef zeroext %71)
  invoke void @_ZN14ShaderAnalyzer3logIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(11) @.str.18, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %72 unwind label %73

72:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #5
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %265

73:                                               ; preds = %53
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %23, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %271

77:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %78 = load ptr, ptr %17, align 8, !tbaa !5
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %78, i16 noundef zeroext 1)
  %80 = load i32, ptr %79, align 4, !tbaa !9
  store i32 %80, ptr %25, align 4, !tbaa !9
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %82)
  store ptr %83, ptr %26, align 8, !tbaa !5
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %84)
  %85 = load ptr, ptr %26, align 8, !tbaa !5
  %86 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %85)
  %87 = icmp eq i32 %86, 250
  br i1 %87, label %88, label %169

88:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %89 = load ptr, ptr %26, align 8, !tbaa !5
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %89, i16 noundef zeroext 1)
  %91 = load i32, ptr %90, align 4, !tbaa !9
  store i32 %91, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %92 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 19
  %93 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %92, ptr noundef nonnull align 4 dereferenceable(4) %27)
  store ptr %93, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #5
  %94 = load i16, ptr %12, align 2, !tbaa !11
  %95 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext 512, i16 noundef zeroext %94)
  %96 = load ptr, ptr %28, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %96, i32 0, i32 2
  %98 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %97, i32 0, i32 0
  %99 = load i16, ptr %98, align 8, !tbaa !37
  %100 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %95, i16 noundef zeroext %99)
  store i16 %100, ptr %29, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #5
  %101 = load i16, ptr %29, align 2, !tbaa !11
  call void @_ZN14ShaderAnalyzer5toStrB5cxx11ENS_10AccessBitsE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, i16 noundef zeroext %101)
  invoke void @_ZN14ShaderAnalyzer3logIJA24_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(24) @.str.19, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %102 unwind label %120

102:                                              ; preds = %88
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #5
  %103 = load i16, ptr %29, align 2, !tbaa !11
  %104 = zext i16 %103 to i32
  %105 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext 64, i16 noundef zeroext 128)
  %106 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %105, i16 noundef zeroext 256)
  %107 = zext i16 %106 to i32
  %108 = and i32 %104, %107
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %124

110:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %111 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 23
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %112 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 17
  %113 = load ptr, ptr %112, align 8, !tbaa !13
  %114 = load ptr, ptr %17, align 8, !tbaa !5
  %115 = call noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20) %113, ptr noundef nonnull align 4 dereferenceable(4) %114)
  %116 = trunc i64 %115 to i32
  store i32 %116, ptr %32, align 4, !tbaa !9
  %117 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3CFGESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixEOj(ptr noundef nonnull align 8 dereferenceable(56) %111, ptr noundef nonnull align 4 dereferenceable(4) %32)
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  store ptr %117, ptr %31, align 8, !tbaa !5
  %118 = load ptr, ptr %31, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.ShaderAnalyzer::CFG", ptr %118, i32 0, i32 0
  store i8 1, ptr %119, align 1, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %124

120:                                              ; preds = %88
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %23, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %271

124:                                              ; preds = %110, %102
  %125 = load ptr, ptr %26, align 8, !tbaa !5
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %125, i16 noundef zeroext 2)
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = load ptr, ptr %26, align 8, !tbaa !5
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %128, i16 noundef zeroext 3)
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = icmp ne i32 %127, %130
  br i1 %131, label %132, label %155

132:                                              ; preds = %124
  %133 = load ptr, ptr %26, align 8, !tbaa !5
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %133, i16 noundef zeroext 2)
  call void @_ZN14ShaderAnalyzer3logIJA16_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(16) @.str.20, ptr noundef nonnull align 4 dereferenceable(4) %134)
  %135 = load i32, ptr %9, align 4, !tbaa !9
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = load i16, ptr %29, align 2, !tbaa !11
  %139 = load ptr, ptr %26, align 8, !tbaa !5
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %139, i16 noundef zeroext 2)
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = load ptr, ptr %26, align 8, !tbaa !5
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %142, i16 noundef zeroext 3)
  %144 = load i32, ptr %143, align 4, !tbaa !9
  call void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %38, i32 noundef %135, ptr noundef nonnull align 4 dereferenceable(4) %136, ptr noundef nonnull align 8 dereferenceable(12) %137, i16 noundef zeroext %138, i32 noundef %141, i32 noundef %144)
  %145 = load ptr, ptr %26, align 8, !tbaa !5
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %145, i16 noundef zeroext 3)
  call void @_ZN14ShaderAnalyzer3logIJA16_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(16) @.str.21, ptr noundef nonnull align 4 dereferenceable(4) %146)
  %147 = load i32, ptr %9, align 4, !tbaa !9
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = load i16, ptr %29, align 2, !tbaa !11
  %151 = load ptr, ptr %26, align 8, !tbaa !5
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %151, i16 noundef zeroext 3)
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = load i32, ptr %25, align 4, !tbaa !9
  call void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %38, i32 noundef %147, ptr noundef nonnull align 4 dereferenceable(4) %148, ptr noundef nonnull align 8 dereferenceable(12) %149, i16 noundef zeroext %150, i32 noundef %153, i32 noundef %154)
  br label %166

155:                                              ; preds = %124
  %156 = load ptr, ptr %26, align 8, !tbaa !5
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %156, i16 noundef zeroext 2)
  call void @_ZN14ShaderAnalyzer3logIJA22_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(22) @.str.22, ptr noundef nonnull align 4 dereferenceable(4) %157)
  %158 = load i32, ptr %9, align 4, !tbaa !9
  %159 = load ptr, ptr %10, align 8, !tbaa !5
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = load i16, ptr %29, align 2, !tbaa !11
  %162 = load ptr, ptr %26, align 8, !tbaa !5
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %162, i16 noundef zeroext 2)
  %164 = load i32, ptr %163, align 4, !tbaa !9
  %165 = load i32, ptr %25, align 4, !tbaa !9
  call void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %38, i32 noundef %158, ptr noundef nonnull align 4 dereferenceable(4) %159, ptr noundef nonnull align 8 dereferenceable(12) %160, i16 noundef zeroext %161, i32 noundef %164, i32 noundef %165)
  br label %166

166:                                              ; preds = %155, %132
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %167, i16 noundef zeroext 1)
  call void @_ZN14ShaderAnalyzer3logIJA17_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %38, ptr noundef nonnull align 1 dereferenceable(17) @.str.23, ptr noundef nonnull align 4 dereferenceable(4) %168)
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %172

169:                                              ; preds = %77
  %170 = load ptr, ptr %15, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %170, i32 0, i32 5
  store i8 1, ptr %171, align 2, !tbaa !49
  br label %172

172:                                              ; preds = %169, %166
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %265

173:                                              ; preds = %46
  %174 = load ptr, ptr %15, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %174, i32 0, i32 5
  store i8 1, ptr %175, align 2, !tbaa !49
  br label %265

176:                                              ; preds = %46
  %177 = load ptr, ptr %17, align 8, !tbaa !5
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %177, i16 noundef zeroext 1)
  %179 = load i32, ptr %178, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = icmp eq i32 %179, %180
  br i1 %181, label %182, label %183

182:                                              ; preds = %176
  store i32 1, ptr %18, align 4
  br label %266

183:                                              ; preds = %176
  br label %265

184:                                              ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %185 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 22
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %186, i16 noundef zeroext 3)
  %188 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %185, ptr noundef nonnull align 4 dereferenceable(4) %187)
  store ptr %188, ptr %33, align 8, !tbaa !5
  %189 = load ptr, ptr %17, align 8, !tbaa !5
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %189, i16 noundef zeroext 3)
  %191 = load i32, ptr %190, align 4, !tbaa !9
  %192 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN14ShaderAnalyzer11analyzeFuncEjRKN8libspirv8Bytecode6OpCodeE(ptr noundef nonnull align 8 dereferenceable(6596) %38, i32 noundef %191, ptr noundef nonnull align 4 dereferenceable(4) %192)
  %193 = load ptr, ptr %33, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %193, i32 0, i32 3
  %195 = load i16, ptr %194, align 2, !tbaa !51
  %196 = load ptr, ptr %15, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %196, i32 0, i32 3
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %197, i16 noundef zeroext %195)
  %198 = load ptr, ptr %33, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %198, i32 0, i32 4
  %200 = load i16, ptr %199, align 8, !tbaa !52
  %201 = load ptr, ptr %15, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %201, i32 0, i32 4
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %202, i16 noundef zeroext %200)
  %203 = load ptr, ptr %33, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %203, i32 0, i32 6
  %205 = load i8, ptr %204, align 1, !tbaa !53, !range !54, !noundef !55
  %206 = trunc i8 %205 to i1
  %207 = zext i1 %206 to i32
  %208 = load ptr, ptr %15, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %208, i32 0, i32 6
  %210 = load i8, ptr %209, align 1, !tbaa !53, !range !54, !noundef !55
  %211 = trunc i8 %210 to i1
  %212 = zext i1 %211 to i32
  %213 = or i32 %212, %207
  %214 = icmp ne i32 %213, 0
  %215 = zext i1 %214 to i8
  store i8 %215, ptr %209, align 1, !tbaa !53
  %216 = load ptr, ptr %33, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %216, i32 0, i32 5
  %218 = load i8, ptr %217, align 2, !tbaa !49, !range !54, !noundef !55
  %219 = trunc i8 %218 to i1
  %220 = zext i1 %219 to i32
  %221 = load ptr, ptr %15, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %221, i32 0, i32 5
  %223 = load i8, ptr %222, align 2, !tbaa !49, !range !54, !noundef !55
  %224 = trunc i8 %223 to i1
  %225 = zext i1 %224 to i32
  %226 = or i32 %225, %220
  %227 = icmp ne i32 %226, 0
  %228 = zext i1 %227 to i8
  store i8 %228, ptr %222, align 2, !tbaa !49
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %265

229:                                              ; preds = %46, %46
  %230 = load ptr, ptr %15, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %230, i32 0, i32 6
  store i8 1, ptr %231, align 1, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %232 = getelementptr inbounds %class.ShaderAnalyzer, ptr %38, i32 0, i32 21
  store ptr %232, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %233 = load ptr, ptr %34, align 8, !tbaa !5
  %234 = call ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %233) #5
  %235 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.83", ptr %35, i32 0, i32 0
  %236 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.84", ptr %235, i32 0, i32 0
  store ptr %234, ptr %236, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %237 = load ptr, ptr %34, align 8, !tbaa !5
  %238 = call ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %237) #5
  %239 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.83", ptr %36, i32 0, i32 0
  %240 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.84", ptr %239, i32 0, i32 0
  store ptr %238, ptr %240, align 8
  br label %241

241:                                              ; preds = %257, %229
  %242 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN14ShaderAnalyzer3VarEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #5
  br i1 %242, label %244, label %243

243:                                              ; preds = %241
  store i32 6, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %259

244:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %245 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjN14ShaderAnalyzer3VarEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  store ptr %245, ptr %37, align 8, !tbaa !5
  %246 = load ptr, ptr %37, align 8, !tbaa !5
  %247 = getelementptr inbounds %"struct.std::pair.85", ptr %246, i32 0, i32 1
  %248 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %247, i32 0, i32 0
  %249 = load i32, ptr %248, align 8, !tbaa !56
  %250 = icmp eq i32 %249, 4
  br i1 %250, label %251, label %256

251:                                              ; preds = %244
  %252 = load ptr, ptr %37, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.std::pair.85", ptr %252, i32 0, i32 1
  %254 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %253, i32 0, i32 2
  %255 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %254, i32 0, i32 0
  store i16 64, ptr %255, align 8, !tbaa !59
  br label %256

256:                                              ; preds = %251, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %257

257:                                              ; preds = %256
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKjN14ShaderAnalyzer3VarEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #5
  br label %241

259:                                              ; preds = %243
  br label %265

260:                                              ; preds = %46
  %261 = load i32, ptr %9, align 4, !tbaa !9
  %262 = load ptr, ptr %17, align 8, !tbaa !5
  %263 = load i16, ptr %12, align 2, !tbaa !11
  %264 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN14ShaderAnalyzer12analyzeInstrEjRKN8libspirv8Bytecode6OpCodeENS_10AccessBitsEj(ptr noundef nonnull align 8 dereferenceable(6596) %38, i32 noundef %261, ptr noundef nonnull align 4 dereferenceable(4) %262, i16 noundef zeroext %263, i32 noundef %264)
  br label %265

265:                                              ; preds = %260, %259, %184, %183, %173, %172, %72, %52
  store i32 0, ptr %18, align 4
  br label %266

266:                                              ; preds = %265, %182, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %267 = load i32, ptr %18, align 4
  switch i32 %267, label %273 [
    i32 0, label %268
  ]

268:                                              ; preds = %266
  br label %269

269:                                              ; preds = %268
  %270 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %270)
  br label %41, !llvm.loop !60

271:                                              ; preds = %120, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %276

272:                                              ; preds = %41
  store i32 0, ptr %18, align 4
  br label %273

273:                                              ; preds = %272, %266
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %274 = load i32, ptr %18, align 4
  switch i32 %274, label %281 [
    i32 0, label %275
    i32 1, label %275
  ]

275:                                              ; preds = %273, %273
  ret void

276:                                              ; preds = %271
  %277 = load ptr, ptr %23, align 8
  %278 = load i32, ptr %24, align 4
  %279 = insertvalue { ptr, i32 } poison, ptr %277, 0
  %280 = insertvalue { ptr, i32 } %279, i32 %278, 1
  resume { ptr, i32 } %280

281:                                              ; preds = %273
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA11_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(11)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(11), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA24_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3CFGESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixEOj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2), i16 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer12analyzeInstrEjRKN8libspirv8Bytecode6OpCodeENS_10AccessBitsEj(ptr noundef nonnull align 8 dereferenceable(6596), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), i16 noundef zeroext, i32 noundef) #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN14ShaderAnalyzer10AccessBitsE", !7, i64 0}
!13 = !{!14, !6, i64 6256}
!14 = !{!"_ZTS14ShaderAnalyzer", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !7, i64 3124, !15, i64 6200, !6, i64 6256, !21, i64 6264, !27, i64 6312, !29, i64 6368, !31, i64 6424, !33, i64 6480, !35, i64 6536, !10, i64 6592}
!15 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !16, i64 0}
!16 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer7VaryingEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!19 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !20, i64 0, !17, i64 8}
!20 = !{!"float", !7, i64 0}
!21 = !{!"_ZTSN8libspirv15MutableBytecodeE", !22, i64 0, !23, i64 24}
!22 = !{!"_ZTSN8libspirv8BytecodeE", !6, i64 0, !17, i64 8, !10, i64 16}
!23 = !{!"_ZTSSt6vectorIN8libspirv8Bytecode6OpCodeESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer3RegEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!29 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer4TypeESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !30, i64 0}
!30 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer4TypeEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!31 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer3VarEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!33 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !34, i64 0}
!34 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer8FunctionEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!35 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer3CFGESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !36, i64 0}
!36 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer3CFGEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !17, i64 8, !18, i64 16, !17, i64 24, !19, i64 32, !6, i64 48}
!37 = !{!38, !12, i64 8}
!38 = !{!"_ZTSN14ShaderAnalyzer3RegE", !39, i64 0, !40, i64 8}
!39 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!40 = !{!"_ZTSN14ShaderAnalyzer5ValueE", !12, i64 0, !41, i64 8, !7, i64 32, !46, i64 48}
!41 = !{!"_ZTSN14ShaderAnalyzer11AccessChainE", !42, i64 0}
!42 = !{!"_ZTSSt6vectorIjSaIjEE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"bool", !7, i64 0}
!47 = !{!48, !46, i64 0}
!48 = !{!"_ZTSN14ShaderAnalyzer3CFGE", !46, i64 0}
!49 = !{!50, !46, i64 10}
!50 = !{!"_ZTSN14ShaderAnalyzer8FunctionE", !10, i64 0, !46, i64 4, !12, i64 6, !12, i64 8, !46, i64 10, !46, i64 11, !6, i64 16, !10, i64 24}
!51 = !{!50, !12, i64 6}
!52 = !{!50, !12, i64 8}
!53 = !{!50, !46, i64 11}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!57, !39, i64 8}
!57 = !{!"_ZTSSt4pairIKjN14ShaderAnalyzer3VarEE", !10, i64 0, !58, i64 8}
!58 = !{!"_ZTSN14ShaderAnalyzer3VarE", !39, i64 0, !40, i64 8, !6, i64 64}
!59 = !{!57, !12, i64 16}
!60 = distinct !{!60, !61}
!61 = !{!"llvm.loop.mustprogress"}


; 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.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] }
%"struct.libspirv::MutableBytecode::Iterator" = type { %"struct.libspirv::Bytecode::Iterator.base", ptr }
%"struct.libspirv::Bytecode::Iterator.base" = type <{ ptr, i32 }>
%"struct.std::__detail::_Node_iterator.83" = type { %"struct.std::__detail::_Node_iterator_base.84" }
%"struct.std::__detail::_Node_iterator_base.84" = type { ptr }

@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer5toStrB5cxx11ENS_10AccessBitsE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i16 noundef zeroext) local_unnamed_addr #0 align 2

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

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) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #2

declare void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

declare noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer11analyzeFuncEjRKN8libspirv8Bytecode6OpCodeE(ptr noundef nonnull align 8 dereferenceable(6596), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(12) %3, i16 noundef zeroext %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca %"struct.libspirv::MutableBytecode::Iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::__detail::_Node_iterator.83", align 8
  %16 = alloca %"struct.std::__detail::_Node_iterator.83", align 8
  store i32 %1, ptr %8, align 4, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 6480
  %18 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %19 = getelementptr inbounds i8, ptr %0, i64 6256
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %20)
  %21 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br i1 %21, label %.lr.ph68, label %._crit_edge69

.lr.ph68:                                         ; preds = %7
  %22 = getelementptr inbounds i8, ptr %18, i64 11
  %23 = getelementptr inbounds i8, ptr %0, i64 6424
  %24 = getelementptr inbounds i8, ptr %18, i64 6
  %25 = getelementptr inbounds i8, ptr %18, i64 8
  %26 = getelementptr inbounds i8, ptr %18, i64 10
  %27 = getelementptr inbounds i8, ptr %0, i64 6312
  %28 = getelementptr inbounds i8, ptr %0, i64 6536
  br label %29

29:                                               ; preds = %.lr.ph68, %.critedge
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %31 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %30)
  switch i32 %31, label %119 [
    i32 56, label %._crit_edge69
    i32 253, label %32
    i32 254, label %33
    i32 247, label %43
    i32 246, label %84
    i32 248, label %85
    i32 57, label %89
    i32 224, label %106
    i32 225, label %106
  ]

32:                                               ; preds = %29
  call void @_ZN14ShaderAnalyzer3logIJA11_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(11) @.str.18)
  br label %.critedge

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %35 = load i32, ptr %34, align 4, !tbaa !5
  store i32 %35, ptr %10, align 4, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext 1)
  %38 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = getelementptr inbounds i8, ptr %38, i64 8
  %40 = getelementptr inbounds i8, ptr %36, i64 8
  %41 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %40, ptr noundef nonnull align 8 dereferenceable(49) %39)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  %42 = load i16, ptr %39, align 8, !tbaa !34
  call void @_ZN14ShaderAnalyzer5toStrB5cxx11ENS_10AccessBitsE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, i16 noundef zeroext %42)
  call void @_ZN14ShaderAnalyzer3logIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(11) @.str.18, ptr noundef nonnull align 8 dereferenceable(32) %11)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %.critedge

43:                                               ; preds = %29
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext 1)
  %45 = load i32, ptr %44, align 4, !tbaa !5
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode8IteratordeEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  %47 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %46)
  %48 = icmp eq i32 %47, 250
  br i1 %48, label %49, label %83

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 1)
  %51 = load i32, ptr %50, align 4, !tbaa !5
  store i32 %51, ptr %12, align 4, !tbaa !5
  %52 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %53 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext 512, i16 noundef zeroext %4)
  %54 = getelementptr inbounds i8, ptr %52, i64 8
  %55 = load i16, ptr %54, align 8, !tbaa !34
  %56 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %53, i16 noundef zeroext %55)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN14ShaderAnalyzer5toStrB5cxx11ENS_10AccessBitsE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i16 noundef zeroext %56)
  call void @_ZN14ShaderAnalyzer3logIJA24_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(24) @.str.19, ptr noundef nonnull align 8 dereferenceable(32) %13)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  %57 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext 64, i16 noundef zeroext 128)
  %58 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %57, i16 noundef zeroext 256)
  %59 = and i16 %58, %56
  %.not = icmp eq i16 %59, 0
  br i1 %.not, label %65, label %60

60:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  %61 = load ptr, ptr %19, align 8, !tbaa !9
  %62 = call noundef i64 @_ZNK8libspirv8Bytecode8toOffsetERKNS0_6OpCodeE(ptr noundef nonnull align 8 dereferenceable(20) %61, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %14, align 4, !tbaa !5
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3CFGESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixEOj(ptr noundef nonnull align 8 dereferenceable(56) %28, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  store i8 1, ptr %64, align 1, !tbaa !45
  br label %65

65:                                               ; preds = %60, %49
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 2)
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 3)
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %.not66 = icmp eq i32 %67, %69
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 2)
  br i1 %.not66, label %78, label %71

71:                                               ; preds = %65
  call void @_ZN14ShaderAnalyzer3logIJA16_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(16) @.str.20, ptr noundef nonnull align 4 dereferenceable(4) %70)
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 2)
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 3)
  %76 = load i32, ptr %75, align 4, !tbaa !5
  call void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %72, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(12) %3, i16 noundef zeroext %56, i32 noundef %74, i32 noundef %76)
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext 3)
  call void @_ZN14ShaderAnalyzer3logIJA16_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(16) @.str.21, ptr noundef nonnull align 4 dereferenceable(4) %77)
  br label %79

78:                                               ; preds = %65
  call void @_ZN14ShaderAnalyzer3logIJA22_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(22) @.str.22, ptr noundef nonnull align 4 dereferenceable(4) %70)
  br label %79

79:                                               ; preds = %78, %71
  %.sink74 = phi i16 [ 2, %78 ], [ 3, %71 ]
  %.sink = load i32, ptr %8, align 4, !tbaa !5
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %46, i16 noundef zeroext %.sink74)
  %81 = load i32, ptr %80, align 4, !tbaa !5
  call void @_ZN14ShaderAnalyzer12analyzeBlockEjRKN8libspirv8Bytecode6OpCodeERNS1_8IteratorENS_10AccessBitsEjj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %.sink, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(12) %3, i16 noundef zeroext %56, i32 noundef %81, i32 noundef %45)
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext 1)
  call void @_ZN14ShaderAnalyzer3logIJA17_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 1 dereferenceable(17) @.str.23, ptr noundef nonnull align 4 dereferenceable(4) %82)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %.critedge

83:                                               ; preds = %43
  store i8 1, ptr %26, align 2, !tbaa !47
  br label %.critedge

84:                                               ; preds = %29
  store i8 1, ptr %26, align 2, !tbaa !47
  br label %.critedge

85:                                               ; preds = %29
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext 1)
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = icmp eq i32 %87, %6
  br i1 %88, label %._crit_edge69, label %.critedge

89:                                               ; preds = %29
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext 3)
  %91 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 4 dereferenceable(4) %90)
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext 3)
  %93 = load i32, ptr %92, align 4, !tbaa !5
  call void @_ZN14ShaderAnalyzer11analyzeFuncEjRKN8libspirv8Bytecode6OpCodeE(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %93, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %94 = getelementptr inbounds i8, ptr %91, i64 6
  %95 = load i16, ptr %94, align 2, !tbaa !49
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %24, i16 noundef zeroext %95)
  %96 = getelementptr inbounds i8, ptr %91, i64 8
  %97 = load i16, ptr %96, align 8, !tbaa !50
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %25, i16 noundef zeroext %97)
  %98 = getelementptr inbounds i8, ptr %91, i64 11
  %99 = load i8, ptr %98, align 1, !tbaa !51, !range !52, !noundef !53
  %100 = load i8, ptr %22, align 1, !tbaa !51, !range !52, !noundef !53
  %101 = or i8 %100, %99
  store i8 %101, ptr %22, align 1, !tbaa !51
  %102 = getelementptr inbounds i8, ptr %91, i64 10
  %103 = load i8, ptr %102, align 2, !tbaa !47, !range !52, !noundef !53
  %104 = load i8, ptr %26, align 2, !tbaa !47, !range !52, !noundef !53
  %105 = or i8 %104, %103
  store i8 %105, ptr %26, align 2, !tbaa !47
  br label %.critedge

106:                                              ; preds = %29, %29
  store i8 1, ptr %22, align 1, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %107 = call ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %23) #5
  store ptr %107, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %108 = call ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %23) #5
  store ptr %108, ptr %16, align 8
  %109 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN14ShaderAnalyzer3VarEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %109, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %116, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %.critedge

.lr.ph:                                           ; preds = %106, %116
  %110 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKjN14ShaderAnalyzer3VarEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = load i32, ptr %111, align 8, !tbaa !54
  %113 = icmp eq i32 %112, 4
  br i1 %113, label %114, label %116

114:                                              ; preds = %.lr.ph
  %115 = getelementptr inbounds i8, ptr %110, i64 16
  store i16 64, ptr %115, align 8, !tbaa !57
  br label %116

116:                                              ; preds = %114, %.lr.ph
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKjN14ShaderAnalyzer3VarEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %118 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKjN14ShaderAnalyzer3VarEELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br i1 %118, label %.lr.ph, label %._crit_edge

119:                                              ; preds = %29
  %120 = load i32, ptr %8, align 4, !tbaa !5
  call void @_ZN14ShaderAnalyzer12analyzeInstrEjRKN8libspirv8Bytecode6OpCodeENS_10AccessBitsEj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %120, ptr noundef nonnull align 4 dereferenceable(4) %30, i16 noundef zeroext %4, i32 noundef %5)
  br label %.critedge

.critedge:                                        ; preds = %79, %83, %85, %119, %._crit_edge, %89, %84, %33, %32
  call void @_ZN8libspirv8Bytecode8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(12) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  %121 = load ptr, ptr %19, align 8, !tbaa !9
  call void @_ZN8libspirv15MutableBytecode3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.libspirv::MutableBytecode::Iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %121)
  %122 = call noundef zeroext i1 @_ZN8libspirvneERKNS_8Bytecode8IteratorES3_(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br i1 %122, label %29, label %._crit_edge69, !llvm.loop !58

._crit_edge69:                                    ; preds = %85, %29, %.critedge, %7
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA11_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3CFGESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixEOj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA16_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA22_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(22), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3logIJA17_cjEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(6596), ptr noundef nonnull align 1 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2), i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer12analyzeInstrEjRKN8libspirv8Bytecode6OpCodeENS_10AccessBitsEj(ptr noundef nonnull align 8 dereferenceable(6596), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), i16 noundef zeroext, i32 noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 6256}
!10 = !{!"_ZTS14ShaderAnalyzer", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !7, i64 52, !7, i64 3124, !11, i64 6200, !13, i64 6256, !18, i64 6264, !24, i64 6312, !26, i64 6368, !28, i64 6424, !30, i64 6480, !32, i64 6536, !6, i64 6592}
!11 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer7VaryingESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer7VaryingEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !13, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTSN8libspirv15MutableBytecodeE", !19, i64 0, !20, i64 24}
!19 = !{!"_ZTSN8libspirv8BytecodeE", !13, i64 0, !14, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIN8libspirv8Bytecode6OpCodeESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN8libspirv8Bytecode6OpCodeESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!24 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer3RegEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!26 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer4TypeESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !27, i64 0}
!27 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer4TypeEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!28 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer3VarEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!30 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !31, i64 0}
!31 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer8FunctionEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!32 = !{!"_ZTSSt13unordered_mapIjN14ShaderAnalyzer3CFGESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN14ShaderAnalyzer3CFGEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !13, i64 48}
!34 = !{!35, !38, i64 8}
!35 = !{!"_ZTSN14ShaderAnalyzer3RegE", !36, i64 0, !37, i64 8}
!36 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!37 = !{!"_ZTSN14ShaderAnalyzer5ValueE", !38, i64 0, !39, i64 8, !7, i64 32, !44, i64 48}
!38 = !{!"_ZTSN14ShaderAnalyzer10AccessBitsE", !7, i64 0}
!39 = !{!"_ZTSN14ShaderAnalyzer11AccessChainE", !40, i64 0}
!40 = !{!"_ZTSSt6vectorIjSaIjEE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!44 = !{!"bool", !7, i64 0}
!45 = !{!46, !44, i64 0}
!46 = !{!"_ZTSN14ShaderAnalyzer3CFGE", !44, i64 0}
!47 = !{!48, !44, i64 10}
!48 = !{!"_ZTSN14ShaderAnalyzer8FunctionE", !6, i64 0, !44, i64 4, !38, i64 6, !38, i64 8, !44, i64 10, !44, i64 11, !13, i64 16, !6, i64 24}
!49 = !{!48, !38, i64 6}
!50 = !{!48, !38, i64 8}
!51 = !{!48, !44, i64 11}
!52 = !{i8 0, i8 2}
!53 = !{}
!54 = !{!55, !36, i64 8}
!55 = !{!"_ZTSSt4pairIKjN14ShaderAnalyzer3VarEE", !6, i64 0, !56, i64 8}
!56 = !{!"_ZTSN14ShaderAnalyzer3VarE", !36, i64 0, !37, i64 8, !13, i64 64}
!57 = !{!55, !38, i64 16}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}


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