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

%"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::Type" = type <{ i32, i32, i16, [2 x i8] }>
%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::Var" = type { i32, [4 x i8], %"struct.ShaderAnalyzer::Value", ptr }
%"struct.ShaderAnalyzer::Function" = type <{ i32, i8, i8, i16, i16, i8, i8, [4 x i8], ptr, i32, [4 x i8] }>

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN14ShaderAnalyzer12toAccessBitsEN3spv12StorageClassE(i32 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4)) #1 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) #1 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer11AccessChainC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN14ShaderAnalyzer11AccessChainaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer11AccessChainD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 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)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 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 nounwind uwtable
declare dso_local void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2), i16 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14ShaderAnalyzer12analyzeInstrEjRKN8libspirv8Bytecode6OpCodeENS_10AccessBitsEj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext %3, i32 noundef %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i16, align 2
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.ShaderAnalyzer::AccessChain", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %21 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.ShaderAnalyzer::Type", align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i16, align 2
  %28 = alloca i32, align 4
  %29 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i16, align 2
  %34 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %39 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %42 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %43 = alloca ptr, align 8
  %44 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %45 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %48 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %49 = alloca ptr, align 8
  %50 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %51 = 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 i16 %3, ptr %9, align 2, !tbaa !11
  store i32 %4, ptr %10, align 4, !tbaa !9
  %52 = load ptr, ptr %6, align 8
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %53)
  switch i32 %54, label %708 [
    i32 59, label %55
    i32 61, label %103
    i32 62, label %159
    i32 65, label %294
    i32 80, label %393
    i32 81, label %435
    i32 128, label %453
    i32 130, label %453
    i32 132, label %453
    i32 170, label %453
    i32 171, label %453
    i32 172, label %453
    i32 173, label %453
    i32 174, label %453
    i32 175, label %453
    i32 176, label %453
    i32 177, label %453
    i32 178, label %453
    i32 179, label %453
    i32 129, label %582
    i32 131, label %582
    i32 133, label %582
    i32 134, label %582
    i32 135, label %582
    i32 136, label %582
    i32 137, label %582
    i32 139, label %582
    i32 141, label %582
    i32 79, label %618
    i32 142, label %654
    i32 143, label %654
    i32 144, label %654
    i32 145, label %654
    i32 146, label %654
    i32 124, label %690
  ]

55:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %56, i16 noundef zeroext 2)
  %58 = load i32, ptr %57, align 4, !tbaa !9
  store i32 %58, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #7
  %59 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %12, i32 0, i32 0
  store i32 8, ptr %59, align 8, !tbaa !13
  %60 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %12, i32 0, i32 2
  %61 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %60, i32 0, i32 0
  store i16 511, ptr %61, align 8, !tbaa !23
  %62 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %60, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %62, i8 0, i64 24, i1 false)
  call void @_ZN14ShaderAnalyzer11AccessChainC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #7
  %63 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %60, i32 0, i32 3
  %64 = getelementptr inbounds i32, ptr %63, i64 4
  br label %65

65:                                               ; preds = %65, %55
  %66 = phi ptr [ %63, %55 ], [ %67, %65 ]
  store i32 0, ptr %66, align 4, !tbaa !9
  %67 = getelementptr inbounds i32, ptr %66, i64 1
  %68 = icmp eq ptr %67, %64
  br i1 %68, label %69, label %65

69:                                               ; preds = %65
  %70 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %60, i32 0, i32 4
  store i8 0, ptr %70, align 8, !tbaa !24
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %71, i16 noundef zeroext 3)
          to label %73 unwind label %94

73:                                               ; preds = %69
  %74 = load i32, ptr %72, align 4, !tbaa !9
  %75 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %12, i32 0, i32 0
  store i32 %74, ptr %75, align 8, !tbaa !13
  %76 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %12, i32 0, i32 2
  %77 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %76, i32 0, i32 0
  store i16 0, ptr %77, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  %78 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN14ShaderAnalyzer11AccessChainC2Ej(ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef %78)
          to label %79 unwind label %98

79:                                               ; preds = %73
  %80 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %12, i32 0, i32 2
  %81 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %80, i32 0, i32 2
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN14ShaderAnalyzer11AccessChainaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @_ZN14ShaderAnalyzer11AccessChainD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  %83 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %84 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %83, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %85 unwind label %94

85:                                               ; preds = %79
  %86 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN14ShaderAnalyzer3RegaSERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %84, ptr noundef nonnull align 8 dereferenceable(64) %12)
          to label %87 unwind label %94

87:                                               ; preds = %85
  %88 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %12, i32 0, i32 0
  %89 = load i32, ptr %88, align 8, !tbaa !13
  %90 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 21
  %91 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %90, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %92 unwind label %94

92:                                               ; preds = %87
  %93 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %91, i32 0, i32 0
  store i32 %89, ptr %93, align 8, !tbaa !26
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %717

94:                                               ; preds = %87, %85, %79, %69
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %13, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %14, align 4
  br label %102

98:                                               ; preds = %73
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %13, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  br label %102

102:                                              ; preds = %98, %94
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %718

103:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %104 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %105, i16 noundef zeroext 2)
  %107 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %104, ptr noundef nonnull align 4 dereferenceable(4) %106)
  store ptr %107, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #7
  %108 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %109, i16 noundef zeroext 3)
  %111 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %108, ptr noundef nonnull align 4 dereferenceable(4) %110)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 8 dereferenceable(64) %111)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %112 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %17, i32 0, i32 2
  %113 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %112, i32 0, i32 2
  %114 = invoke noundef i32 @_ZN14ShaderAnalyzer22dereferenceAccessChainERKNS_11AccessChainE(ptr noundef nonnull align 8 dereferenceable(6596) %52, ptr noundef nonnull align 8 dereferenceable(24) %113)
          to label %115 unwind label %142

115:                                              ; preds = %103
  store i32 %114, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %116 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 21
  %117 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %116, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %118 unwind label %146

118:                                              ; preds = %115
  store ptr %117, ptr %19, align 8, !tbaa !5
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %16, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %121, i32 0, i32 2
  %123 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %122, ptr noundef nonnull align 8 dereferenceable(49) %120)
          to label %124 unwind label %146

124:                                              ; preds = %118
  %125 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %17, i32 0, i32 2
  %126 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %125, i32 0, i32 0
  %127 = load i16, ptr %126, align 8, !tbaa !25
  %128 = load ptr, ptr %16, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %128, i32 0, i32 2
  %130 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %129, i32 0, i32 0
  invoke void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %130, i16 noundef zeroext %127)
          to label %131 unwind label %146

131:                                              ; preds = %124
  %132 = load ptr, ptr %16, align 8, !tbaa !5
  %133 = invoke noundef zeroext i1 @_ZNK14ShaderAnalyzer3Reg14isConstOrInputEv(ptr noundef nonnull align 8 dereferenceable(64) %132)
          to label %134 unwind label %146

134:                                              ; preds = %131
  br i1 %133, label %135, label %150

135:                                              ; preds = %134
  %136 = load ptr, ptr %19, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %136, i32 0, i32 2
  %138 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %137, i32 0, i32 4
  %139 = load i8, ptr %138, align 8, !tbaa !28, !range !29, !noundef !30
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %150

141:                                              ; preds = %135
  br label %150

142:                                              ; preds = %103
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %13, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %14, align 4
  br label %158

146:                                              ; preds = %150, %131, %124, %118, %115
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %13, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %158

150:                                              ; preds = %141, %135, %134
  %151 = load i32, ptr %7, align 4, !tbaa !9
  %152 = load i32, ptr %10, align 4, !tbaa !9
  %153 = load ptr, ptr %16, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %153, i32 0, i32 2
  %155 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %154, i32 0, i32 0
  %156 = load i16, ptr %155, align 8, !tbaa !25
  invoke void @_ZN14ShaderAnalyzer14makeReadAccessEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %52, i32 noundef %151, i32 noundef %152, i16 noundef zeroext %156)
          to label %157 unwind label %146

157:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %717

158:                                              ; preds = %146, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %718

159:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #7
  %160 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %161, i16 noundef zeroext 1)
  %163 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %160, ptr noundef nonnull align 4 dereferenceable(4) %162)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %20, ptr noundef nonnull align 8 dereferenceable(64) %163)
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #7
  %164 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %165, i16 noundef zeroext 2)
          to label %167 unwind label %189

167:                                              ; preds = %159
  %168 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %164, ptr noundef nonnull align 4 dereferenceable(4) %166)
          to label %169 unwind label %189

169:                                              ; preds = %167
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %21, ptr noundef nonnull align 8 dereferenceable(64) %168)
          to label %170 unwind label %189

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %171 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %172 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %171, i32 0, i32 2
  %173 = invoke noundef i32 @_ZN14ShaderAnalyzer22dereferenceAccessChainERKNS_11AccessChainE(ptr noundef nonnull align 8 dereferenceable(6596) %52, ptr noundef nonnull align 8 dereferenceable(24) %172)
          to label %174 unwind label %193

174:                                              ; preds = %170
  store i32 %173, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %175 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 21
  %176 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %175, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %177 unwind label %197

177:                                              ; preds = %174
  store ptr %176, ptr %23, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %179 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %178, i32 0, i32 2
  %180 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %179, i32 0, i32 0
  %181 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %180) #7
  %182 = icmp ule i64 %181, 1
  br i1 %182, label %183, label %201

183:                                              ; preds = %177
  %184 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %21, i32 0, i32 2
  %185 = load ptr, ptr %23, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %185, i32 0, i32 2
  %187 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %186, ptr noundef nonnull align 8 dereferenceable(49) %184)
          to label %188 unwind label %197

188:                                              ; preds = %183
  br label %212

189:                                              ; preds = %169, %167, %159
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %13, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %14, align 4
  br label %293

193:                                              ; preds = %170
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %13, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %14, align 4
  br label %292

197:                                              ; preds = %284, %269, %245, %219, %212, %201, %183, %174
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %13, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %292

201:                                              ; preds = %177
  %202 = load ptr, ptr %23, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %202, i32 0, i32 2
  %204 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %203, i32 0, i32 4
  store i8 0, ptr %204, align 8, !tbaa !28
  %205 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %21, i32 0, i32 2
  %206 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %205, i32 0, i32 0
  %207 = load i16, ptr %206, align 8, !tbaa !25
  %208 = load ptr, ptr %23, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %208, i32 0, i32 2
  %210 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %209, i32 0, i32 0
  invoke void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %210, i16 noundef zeroext %207)
          to label %211 unwind label %197

211:                                              ; preds = %201
  br label %212

212:                                              ; preds = %211, %188
  %213 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %214 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %213, i32 0, i32 0
  %215 = load i16, ptr %214, align 8, !tbaa !25
  %216 = load ptr, ptr %23, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %216, i32 0, i32 2
  %218 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %217, i32 0, i32 0
  invoke void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %218, i16 noundef zeroext %215)
          to label %219 unwind label %197

219:                                              ; preds = %212
  %220 = load i16, ptr %9, align 2, !tbaa !11
  %221 = load ptr, ptr %23, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %221, i32 0, i32 2
  %223 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %222, i32 0, i32 0
  invoke void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %223, i16 noundef zeroext %220)
          to label %224 unwind label %197

224:                                              ; preds = %219
  %225 = load ptr, ptr %23, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %225, i32 0, i32 0
  %227 = load i32, ptr %226, align 8, !tbaa !26
  %228 = icmp eq i32 %227, 3
  br i1 %228, label %229, label %284

229:                                              ; preds = %224
  %230 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %231 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %230, i32 0, i32 2
  %232 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %231, i32 0, i32 0
  %233 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %232) #7
  %234 = icmp ugt i64 %233, 1
  br i1 %234, label %235, label %258

235:                                              ; preds = %229
  %236 = load i32, ptr %22, align 4, !tbaa !9
  %237 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 4
  %238 = load i32, ptr %237, align 8, !tbaa !31
  %239 = icmp ne i32 %236, %238
  br i1 %239, label %240, label %258

240:                                              ; preds = %235
  %241 = load i32, ptr %22, align 4, !tbaa !9
  %242 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 5
  %243 = load i32, ptr %242, align 4, !tbaa !55
  %244 = icmp ne i32 %241, %243
  br i1 %244, label %245, label %258

245:                                              ; preds = %240
  %246 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %247 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %246, i32 0, i32 2
  %248 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %247, i32 0, i32 0
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef 1) #7
  %250 = load i32, ptr %249, align 4, !tbaa !9
  %251 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 24
  %252 = load i32, ptr %251, align 8, !tbaa !56
  %253 = load ptr, ptr %23, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %253, i32 0, i32 2
  %255 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %254, i32 0, i32 0
  %256 = load i16, ptr %255, align 8, !tbaa !57
  invoke void @_ZN14ShaderAnalyzer26markOutputsAsThreadRelatedEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %52, i32 noundef %250, i32 noundef %252, i16 noundef zeroext %256)
          to label %257 unwind label %197

257:                                              ; preds = %245
  br label %283

258:                                              ; preds = %240, %235, %229
  %259 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %260 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %259, i32 0, i32 2
  %261 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %260, i32 0, i32 0
  %262 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %261) #7
  %263 = icmp ugt i64 %262, 1
  br i1 %263, label %264, label %282

264:                                              ; preds = %258
  %265 = load i32, ptr %22, align 4, !tbaa !9
  %266 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 5
  %267 = load i32, ptr %266, align 4, !tbaa !55
  %268 = icmp eq i32 %265, %267
  br i1 %268, label %269, label %282

269:                                              ; preds = %264
  %270 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %20, i32 0, i32 2
  %271 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %270, i32 0, i32 2
  %272 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %271, i32 0, i32 0
  %273 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef 1) #7
  %274 = load i32, ptr %273, align 4, !tbaa !9
  %275 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 24
  %276 = load i32, ptr %275, align 8, !tbaa !56
  %277 = load ptr, ptr %23, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %277, i32 0, i32 2
  %279 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %278, i32 0, i32 0
  %280 = load i16, ptr %279, align 8, !tbaa !57
  invoke void @_ZN14ShaderAnalyzer24markIndexAsThreadRelatedEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %52, i32 noundef %274, i32 noundef %276, i16 noundef zeroext %280)
          to label %281 unwind label %197

281:                                              ; preds = %269
  br label %282

282:                                              ; preds = %281, %264, %258
  br label %283

283:                                              ; preds = %282, %257
  br label %284

284:                                              ; preds = %283, %224
  %285 = load i32, ptr %7, align 4, !tbaa !9
  %286 = load i32, ptr %10, align 4, !tbaa !9
  %287 = load ptr, ptr %23, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.ShaderAnalyzer::Var", ptr %287, i32 0, i32 0
  %289 = load i32, ptr %288, align 8, !tbaa !26
  %290 = call noundef zeroext i16 @_ZN14ShaderAnalyzer12toAccessBitsEN3spv12StorageClassE(i32 noundef %289)
  invoke void @_ZN14ShaderAnalyzer15makeWriteAccessEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %52, i32 noundef %285, i32 noundef %286, i16 noundef zeroext %290)
          to label %291 unwind label %197

291:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %20) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #7
  br label %717

292:                                              ; preds = %197, %193
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #7
  br label %293

293:                                              ; preds = %292, %189
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %20) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #7
  br label %718

294:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #7
  %295 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 20
  %296 = load ptr, ptr %8, align 8, !tbaa !5
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %296, i16 noundef zeroext 1)
  %298 = call noundef nonnull align 4 dereferenceable(10) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer4TypeESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %295, ptr noundef nonnull align 4 dereferenceable(4) %297)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %298, i64 12, i1 false), !tbaa.struct !58
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %299 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %300 = load ptr, ptr %8, align 8, !tbaa !5
  %301 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %300, i16 noundef zeroext 2)
  %302 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %299, ptr noundef nonnull align 4 dereferenceable(4) %301)
  store ptr %302, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %303 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %304 = load ptr, ptr %8, align 8, !tbaa !5
  %305 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %304, i16 noundef zeroext 3)
  %306 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %303, ptr noundef nonnull align 4 dereferenceable(4) %305)
  store ptr %306, ptr %26, align 8, !tbaa !5
  %307 = getelementptr inbounds %"struct.ShaderAnalyzer::Type", ptr %24, i32 0, i32 1
  %308 = load i32, ptr %307, align 4, !tbaa !62
  %309 = load ptr, ptr %25, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %309, i32 0, i32 0
  store i32 %308, ptr %310, align 8, !tbaa !13
  %311 = load ptr, ptr %25, align 8, !tbaa !5
  %312 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %311, i32 0, i32 2
  %313 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %312, i32 0, i32 0
  store i16 0, ptr %313, align 8, !tbaa !25
  %314 = load ptr, ptr %26, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %314, i32 0, i32 2
  %316 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %315, i32 0, i32 2
  %317 = load ptr, ptr %25, align 8, !tbaa !5
  %318 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %317, i32 0, i32 2
  %319 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %318, i32 0, i32 2
  %320 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN14ShaderAnalyzer11AccessChainaSERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %319, ptr noundef nonnull align 8 dereferenceable(24) %316)
  call void @llvm.lifetime.start.p0(i64 2, ptr %27) #7
  store i16 3, ptr %27, align 2, !tbaa !64
  br label %321

321:                                              ; preds = %388, %294
  %322 = load i16, ptr %27, align 2, !tbaa !64
  %323 = zext i16 %322 to i32
  %324 = load ptr, ptr %8, align 8, !tbaa !5
  %325 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %324)
  %326 = zext i16 %325 to i32
  %327 = icmp slt i32 %323, %326
  br i1 %327, label %329, label %328

328:                                              ; preds = %321
  store i32 3, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %27) #7
  br label %392

329:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #7
  %330 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %331 = load ptr, ptr %8, align 8, !tbaa !5
  %332 = load i16, ptr %27, align 2, !tbaa !64
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %331, i16 noundef zeroext %332)
  %334 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %330, ptr noundef nonnull align 4 dereferenceable(4) %333)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %29, ptr noundef nonnull align 8 dereferenceable(64) %334)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %335 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %29, i32 0, i32 2
  %336 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %335, i32 0, i32 0
  %337 = load i16, ptr %336, align 8, !tbaa !25
  %338 = zext i16 %337 to i32
  %339 = and i32 %338, -2
  store i32 %339, ptr %30, align 4, !tbaa !9
  %340 = load ptr, ptr %25, align 8, !tbaa !5
  %341 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %340, i32 0, i32 2
  %342 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %341, i32 0, i32 0
  %343 = load i16, ptr %342, align 8, !tbaa !25
  %344 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %29, i32 0, i32 2
  %345 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %344, i32 0, i32 0
  %346 = load i16, ptr %345, align 8, !tbaa !25
  %347 = invoke noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %343, i16 noundef zeroext %346)
          to label %348 unwind label %356

348:                                              ; preds = %329
  %349 = load ptr, ptr %25, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %349, i32 0, i32 2
  %351 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %350, i32 0, i32 0
  store i16 %347, ptr %351, align 8, !tbaa !25
  %352 = load i16, ptr %27, align 2, !tbaa !64
  %353 = zext i16 %352 to i32
  %354 = icmp eq i32 %353, 3
  br i1 %354, label %355, label %360

355:                                              ; preds = %348
  store i32 5, ptr %28, align 4
  br label %385

356:                                              ; preds = %365, %329
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %13, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %14, align 4
  br label %391

360:                                              ; preds = %348
  %361 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %29, i32 0, i32 2
  %362 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %361, i32 0, i32 4
  %363 = load i8, ptr %362, align 8, !tbaa !66, !range !29, !noundef !30
  %364 = trunc i8 %363 to i1
  br i1 %364, label %365, label %374

365:                                              ; preds = %360
  %366 = load ptr, ptr %25, align 8, !tbaa !5
  %367 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %366, i32 0, i32 2
  %368 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %367, i32 0, i32 2
  %369 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %368, i32 0, i32 0
  %370 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %29, i32 0, i32 2
  %371 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %370, i32 0, i32 3
  %372 = getelementptr inbounds [4 x i32], ptr %371, i64 0, i64 0
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %369, ptr noundef nonnull align 4 dereferenceable(4) %372)
          to label %373 unwind label %356

373:                                              ; preds = %365
  br label %384

374:                                              ; preds = %360
  %375 = load ptr, ptr %25, align 8, !tbaa !5
  %376 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %375, i32 0, i32 2
  %377 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %376, i32 0, i32 2
  %378 = getelementptr inbounds %"struct.ShaderAnalyzer::AccessChain", ptr %377, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 -1, ptr %31, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %378, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %379 unwind label %380

379:                                              ; preds = %374
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %384

380:                                              ; preds = %374
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %13, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %391

384:                                              ; preds = %379, %373
  store i32 0, ptr %28, align 4
  br label %385

385:                                              ; preds = %384, %355
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %29) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #7
  %386 = load i32, ptr %28, align 4
  switch i32 %386, label %723 [
    i32 0, label %387
    i32 5, label %388
  ]

387:                                              ; preds = %385
  br label %388

388:                                              ; preds = %387, %385
  %389 = load i16, ptr %27, align 2, !tbaa !64
  %390 = add i16 %389, 1
  store i16 %390, ptr %27, align 2, !tbaa !64
  br label %321, !llvm.loop !67

391:                                              ; preds = %380, %356
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %29) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #7
  br label %718

392:                                              ; preds = %328
  store i32 2, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #7
  br label %717

393:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %394 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %395 = load ptr, ptr %8, align 8, !tbaa !5
  %396 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %395, i16 noundef zeroext 2)
  %397 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %394, ptr noundef nonnull align 4 dereferenceable(4) %396)
  store ptr %397, ptr %32, align 8, !tbaa !5
  %398 = load ptr, ptr %32, align 8, !tbaa !5
  %399 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %398, i32 0, i32 2
  %400 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %399, i32 0, i32 0
  store i16 0, ptr %400, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 2, ptr %33) #7
  store i16 3, ptr %33, align 2, !tbaa !64
  br label %401

401:                                              ; preds = %427, %393
  %402 = load i16, ptr %33, align 2, !tbaa !64
  %403 = zext i16 %402 to i32
  %404 = load ptr, ptr %8, align 8, !tbaa !5
  %405 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %404)
  %406 = zext i16 %405 to i32
  %407 = icmp slt i32 %403, %406
  br i1 %407, label %409, label %408

408:                                              ; preds = %401
  store i32 6, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %33) #7
  br label %434

409:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #7
  %410 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %411 = load ptr, ptr %8, align 8, !tbaa !5
  %412 = load i16, ptr %33, align 2, !tbaa !64
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %411, i16 noundef zeroext %412)
  %414 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %410, ptr noundef nonnull align 4 dereferenceable(4) %413)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %34, ptr noundef nonnull align 8 dereferenceable(64) %414)
  %415 = load ptr, ptr %32, align 8, !tbaa !5
  %416 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %415, i32 0, i32 2
  %417 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %416, i32 0, i32 0
  %418 = load i16, ptr %417, align 8, !tbaa !25
  %419 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %34, i32 0, i32 2
  %420 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %419, i32 0, i32 0
  %421 = load i16, ptr %420, align 8, !tbaa !25
  %422 = invoke noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %418, i16 noundef zeroext %421)
          to label %423 unwind label %430

423:                                              ; preds = %409
  %424 = load ptr, ptr %32, align 8, !tbaa !5
  %425 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %424, i32 0, i32 2
  %426 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %425, i32 0, i32 0
  store i16 %422, ptr %426, align 8, !tbaa !25
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %34) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #7
  br label %427

427:                                              ; preds = %423
  %428 = load i16, ptr %33, align 2, !tbaa !64
  %429 = add i16 %428, 1
  store i16 %429, ptr %33, align 2, !tbaa !64
  br label %401, !llvm.loop !69

430:                                              ; preds = %409
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %13, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %34) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %718

434:                                              ; preds = %408
  store i32 2, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %717

435:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %436 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %437 = load ptr, ptr %8, align 8, !tbaa !5
  %438 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %437, i16 noundef zeroext 2)
  %439 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %436, ptr noundef nonnull align 4 dereferenceable(4) %438)
  store ptr %439, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #7
  %440 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %441 = load ptr, ptr %8, align 8, !tbaa !5
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %441, i16 noundef zeroext 3)
  %443 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %440, ptr noundef nonnull align 4 dereferenceable(4) %442)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %36, ptr noundef nonnull align 8 dereferenceable(64) %443)
  %444 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %36, i32 0, i32 2
  %445 = load ptr, ptr %35, align 8, !tbaa !5
  %446 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %445, i32 0, i32 2
  %447 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %446, ptr noundef nonnull align 8 dereferenceable(49) %444)
          to label %448 unwind label %449

448:                                              ; preds = %435
  store i32 2, ptr %28, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %36) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %717

449:                                              ; preds = %435
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %13, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %36) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %718

453:                                              ; preds = %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %454 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %455 = load ptr, ptr %8, align 8, !tbaa !5
  %456 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %455, i16 noundef zeroext 2)
  %457 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %454, ptr noundef nonnull align 4 dereferenceable(4) %456)
  store ptr %457, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #7
  %458 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %459 = load ptr, ptr %8, align 8, !tbaa !5
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %459, i16 noundef zeroext 3)
  %461 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %458, ptr noundef nonnull align 4 dereferenceable(4) %460)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %38, ptr noundef nonnull align 8 dereferenceable(64) %461)
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #7
  %462 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %463 = load ptr, ptr %8, align 8, !tbaa !5
  %464 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %463, i16 noundef zeroext 4)
          to label %465 unwind label %496

465:                                              ; preds = %453
  %466 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %462, ptr noundef nonnull align 4 dereferenceable(4) %464)
          to label %467 unwind label %496

467:                                              ; preds = %465
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %39, ptr noundef nonnull align 8 dereferenceable(64) %466)
          to label %468 unwind label %496

468:                                              ; preds = %467
  %469 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %470 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %469, i32 0, i32 0
  %471 = load i16, ptr %470, align 8, !tbaa !25
  %472 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %473 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %472, i32 0, i32 0
  %474 = load i16, ptr %473, align 8, !tbaa !25
  %475 = invoke noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %471, i16 noundef zeroext %474)
          to label %476 unwind label %500

476:                                              ; preds = %468
  %477 = load ptr, ptr %37, align 8, !tbaa !5
  %478 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %477, i32 0, i32 2
  %479 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %478, i32 0, i32 0
  store i16 %475, ptr %479, align 8, !tbaa !25
  %480 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %481 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %480, i32 0, i32 4
  %482 = load i8, ptr %481, align 8, !tbaa !66, !range !29, !noundef !30
  %483 = trunc i8 %482 to i1
  br i1 %483, label %484, label %580

484:                                              ; preds = %476
  %485 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %486 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %485, i32 0, i32 4
  %487 = load i8, ptr %486, align 8, !tbaa !66, !range !29, !noundef !30
  %488 = trunc i8 %487 to i1
  br i1 %488, label %489, label %580

489:                                              ; preds = %484
  %490 = load ptr, ptr %37, align 8, !tbaa !5
  %491 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %490, i32 0, i32 2
  %492 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %491, i32 0, i32 4
  store i8 1, ptr %492, align 8, !tbaa !66
  %493 = load ptr, ptr %8, align 8, !tbaa !5
  %494 = invoke noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %493)
          to label %495 unwind label %500

495:                                              ; preds = %489
  switch i32 %494, label %578 [
    i32 128, label %504
    i32 130, label %518
    i32 132, label %532
    i32 170, label %546
    i32 171, label %562
  ]

496:                                              ; preds = %467, %465, %453
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %13, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %14, align 4
  br label %581

500:                                              ; preds = %489, %468
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %13, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %39) #7
  br label %581

504:                                              ; preds = %495
  %505 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %506 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %505, i32 0, i32 3
  %507 = getelementptr inbounds [4 x i32], ptr %506, i64 0, i64 0
  %508 = load i32, ptr %507, align 8, !tbaa !9
  %509 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %510 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %509, i32 0, i32 3
  %511 = getelementptr inbounds [4 x i32], ptr %510, i64 0, i64 0
  %512 = load i32, ptr %511, align 8, !tbaa !9
  %513 = add i32 %508, %512
  %514 = load ptr, ptr %37, align 8, !tbaa !5
  %515 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %514, i32 0, i32 2
  %516 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %515, i32 0, i32 3
  %517 = getelementptr inbounds [4 x i32], ptr %516, i64 0, i64 0
  store i32 %513, ptr %517, align 8, !tbaa !9
  br label %579

518:                                              ; preds = %495
  %519 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %520 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %519, i32 0, i32 3
  %521 = getelementptr inbounds [4 x i32], ptr %520, i64 0, i64 0
  %522 = load i32, ptr %521, align 8, !tbaa !9
  %523 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %524 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %523, i32 0, i32 3
  %525 = getelementptr inbounds [4 x i32], ptr %524, i64 0, i64 0
  %526 = load i32, ptr %525, align 8, !tbaa !9
  %527 = sub i32 %522, %526
  %528 = load ptr, ptr %37, align 8, !tbaa !5
  %529 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %528, i32 0, i32 2
  %530 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %529, i32 0, i32 3
  %531 = getelementptr inbounds [4 x i32], ptr %530, i64 0, i64 0
  store i32 %527, ptr %531, align 8, !tbaa !9
  br label %579

532:                                              ; preds = %495
  %533 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %534 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %533, i32 0, i32 3
  %535 = getelementptr inbounds [4 x i32], ptr %534, i64 0, i64 0
  %536 = load i32, ptr %535, align 8, !tbaa !9
  %537 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %538 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %537, i32 0, i32 3
  %539 = getelementptr inbounds [4 x i32], ptr %538, i64 0, i64 0
  %540 = load i32, ptr %539, align 8, !tbaa !9
  %541 = mul i32 %536, %540
  %542 = load ptr, ptr %37, align 8, !tbaa !5
  %543 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %542, i32 0, i32 2
  %544 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %543, i32 0, i32 3
  %545 = getelementptr inbounds [4 x i32], ptr %544, i64 0, i64 0
  store i32 %541, ptr %545, align 8, !tbaa !9
  br label %579

546:                                              ; preds = %495
  %547 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %548 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %547, i32 0, i32 3
  %549 = getelementptr inbounds [4 x i32], ptr %548, i64 0, i64 0
  %550 = load i32, ptr %549, align 8, !tbaa !9
  %551 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %552 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %551, i32 0, i32 3
  %553 = getelementptr inbounds [4 x i32], ptr %552, i64 0, i64 0
  %554 = load i32, ptr %553, align 8, !tbaa !9
  %555 = icmp eq i32 %550, %554
  %556 = zext i1 %555 to i64
  %557 = select i1 %555, i32 1, i32 0
  %558 = load ptr, ptr %37, align 8, !tbaa !5
  %559 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %558, i32 0, i32 2
  %560 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %559, i32 0, i32 3
  %561 = getelementptr inbounds [4 x i32], ptr %560, i64 0, i64 0
  store i32 %557, ptr %561, align 8, !tbaa !9
  br label %579

562:                                              ; preds = %495
  %563 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %38, i32 0, i32 2
  %564 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %563, i32 0, i32 3
  %565 = getelementptr inbounds [4 x i32], ptr %564, i64 0, i64 0
  %566 = load i32, ptr %565, align 8, !tbaa !9
  %567 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %39, i32 0, i32 2
  %568 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %567, i32 0, i32 3
  %569 = getelementptr inbounds [4 x i32], ptr %568, i64 0, i64 0
  %570 = load i32, ptr %569, align 8, !tbaa !9
  %571 = icmp ne i32 %566, %570
  %572 = zext i1 %571 to i64
  %573 = select i1 %571, i32 1, i32 0
  %574 = load ptr, ptr %37, align 8, !tbaa !5
  %575 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %574, i32 0, i32 2
  %576 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %575, i32 0, i32 3
  %577 = getelementptr inbounds [4 x i32], ptr %576, i64 0, i64 0
  store i32 %573, ptr %577, align 8, !tbaa !9
  br label %579

578:                                              ; preds = %495
  br label %579

579:                                              ; preds = %578, %562, %546, %532, %518, %504
  br label %580

580:                                              ; preds = %579, %484, %476
  store i32 2, ptr %28, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %39) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %38) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %717

581:                                              ; preds = %500, %496
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %38) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %718

582:                                              ; preds = %5, %5, %5, %5, %5, %5, %5, %5, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %583 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %584 = load ptr, ptr %8, align 8, !tbaa !5
  %585 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %584, i16 noundef zeroext 2)
  %586 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %583, ptr noundef nonnull align 4 dereferenceable(4) %585)
  store ptr %586, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #7
  %587 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %588 = load ptr, ptr %8, align 8, !tbaa !5
  %589 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %588, i16 noundef zeroext 3)
  %590 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %587, ptr noundef nonnull align 4 dereferenceable(4) %589)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %41, ptr noundef nonnull align 8 dereferenceable(64) %590)
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #7
  %591 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %592 = load ptr, ptr %8, align 8, !tbaa !5
  %593 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %592, i16 noundef zeroext 4)
          to label %594 unwind label %609

594:                                              ; preds = %582
  %595 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %591, ptr noundef nonnull align 4 dereferenceable(4) %593)
          to label %596 unwind label %609

596:                                              ; preds = %594
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %42, ptr noundef nonnull align 8 dereferenceable(64) %595)
          to label %597 unwind label %609

597:                                              ; preds = %596
  %598 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %41, i32 0, i32 2
  %599 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %598, i32 0, i32 0
  %600 = load i16, ptr %599, align 8, !tbaa !25
  %601 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %42, i32 0, i32 2
  %602 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %601, i32 0, i32 0
  %603 = load i16, ptr %602, align 8, !tbaa !25
  %604 = invoke noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %600, i16 noundef zeroext %603)
          to label %605 unwind label %613

605:                                              ; preds = %597
  %606 = load ptr, ptr %40, align 8, !tbaa !5
  %607 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %606, i32 0, i32 2
  %608 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %607, i32 0, i32 0
  store i16 %604, ptr %608, align 8, !tbaa !25
  store i32 2, ptr %28, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %42) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %41) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %717

609:                                              ; preds = %596, %594, %582
  %610 = landingpad { ptr, i32 }
          cleanup
  %611 = extractvalue { ptr, i32 } %610, 0
  store ptr %611, ptr %13, align 8
  %612 = extractvalue { ptr, i32 } %610, 1
  store i32 %612, ptr %14, align 4
  br label %617

613:                                              ; preds = %597
  %614 = landingpad { ptr, i32 }
          cleanup
  %615 = extractvalue { ptr, i32 } %614, 0
  store ptr %615, ptr %13, align 8
  %616 = extractvalue { ptr, i32 } %614, 1
  store i32 %616, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %42) #7
  br label %617

617:                                              ; preds = %613, %609
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %41) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %718

618:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %619 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %620 = load ptr, ptr %8, align 8, !tbaa !5
  %621 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %620, i16 noundef zeroext 2)
  %622 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %619, ptr noundef nonnull align 4 dereferenceable(4) %621)
  store ptr %622, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %44) #7
  %623 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %624 = load ptr, ptr %8, align 8, !tbaa !5
  %625 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %624, i16 noundef zeroext 3)
  %626 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %623, ptr noundef nonnull align 4 dereferenceable(4) %625)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %44, ptr noundef nonnull align 8 dereferenceable(64) %626)
  call void @llvm.lifetime.start.p0(i64 64, ptr %45) #7
  %627 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %628 = load ptr, ptr %8, align 8, !tbaa !5
  %629 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %628, i16 noundef zeroext 4)
          to label %630 unwind label %645

630:                                              ; preds = %618
  %631 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %627, ptr noundef nonnull align 4 dereferenceable(4) %629)
          to label %632 unwind label %645

632:                                              ; preds = %630
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %45, ptr noundef nonnull align 8 dereferenceable(64) %631)
          to label %633 unwind label %645

633:                                              ; preds = %632
  %634 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %44, i32 0, i32 2
  %635 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %634, i32 0, i32 0
  %636 = load i16, ptr %635, align 8, !tbaa !25
  %637 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %45, i32 0, i32 2
  %638 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %637, i32 0, i32 0
  %639 = load i16, ptr %638, align 8, !tbaa !25
  %640 = invoke noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %636, i16 noundef zeroext %639)
          to label %641 unwind label %649

641:                                              ; preds = %633
  %642 = load ptr, ptr %43, align 8, !tbaa !5
  %643 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %642, i32 0, i32 2
  %644 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %643, i32 0, i32 0
  store i16 %640, ptr %644, align 8, !tbaa !25
  store i32 2, ptr %28, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %45) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %45) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %44) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  br label %717

645:                                              ; preds = %632, %630, %618
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %13, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %14, align 4
  br label %653

649:                                              ; preds = %633
  %650 = landingpad { ptr, i32 }
          cleanup
  %651 = extractvalue { ptr, i32 } %650, 0
  store ptr %651, ptr %13, align 8
  %652 = extractvalue { ptr, i32 } %650, 1
  store i32 %652, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %45) #7
  br label %653

653:                                              ; preds = %649, %645
  call void @llvm.lifetime.end.p0(i64 64, ptr %45) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %44) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  br label %718

654:                                              ; preds = %5, %5, %5, %5, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %655 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %656 = load ptr, ptr %8, align 8, !tbaa !5
  %657 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %656, i16 noundef zeroext 2)
  %658 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %655, ptr noundef nonnull align 4 dereferenceable(4) %657)
  store ptr %658, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %47) #7
  %659 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %660 = load ptr, ptr %8, align 8, !tbaa !5
  %661 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %660, i16 noundef zeroext 3)
  %662 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %659, ptr noundef nonnull align 4 dereferenceable(4) %661)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %47, ptr noundef nonnull align 8 dereferenceable(64) %662)
  call void @llvm.lifetime.start.p0(i64 64, ptr %48) #7
  %663 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %664 = load ptr, ptr %8, align 8, !tbaa !5
  %665 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %664, i16 noundef zeroext 4)
          to label %666 unwind label %681

666:                                              ; preds = %654
  %667 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %663, ptr noundef nonnull align 4 dereferenceable(4) %665)
          to label %668 unwind label %681

668:                                              ; preds = %666
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %48, ptr noundef nonnull align 8 dereferenceable(64) %667)
          to label %669 unwind label %681

669:                                              ; preds = %668
  %670 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %47, i32 0, i32 2
  %671 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %670, i32 0, i32 0
  %672 = load i16, ptr %671, align 8, !tbaa !25
  %673 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %48, i32 0, i32 2
  %674 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %673, i32 0, i32 0
  %675 = load i16, ptr %674, align 8, !tbaa !25
  %676 = invoke noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %672, i16 noundef zeroext %675)
          to label %677 unwind label %685

677:                                              ; preds = %669
  %678 = load ptr, ptr %46, align 8, !tbaa !5
  %679 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %678, i32 0, i32 2
  %680 = getelementptr inbounds %"struct.ShaderAnalyzer::Value", ptr %679, i32 0, i32 0
  store i16 %676, ptr %680, align 8, !tbaa !25
  store i32 2, ptr %28, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %48) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %48) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %47) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %717

681:                                              ; preds = %668, %666, %654
  %682 = landingpad { ptr, i32 }
          cleanup
  %683 = extractvalue { ptr, i32 } %682, 0
  store ptr %683, ptr %13, align 8
  %684 = extractvalue { ptr, i32 } %682, 1
  store i32 %684, ptr %14, align 4
  br label %689

685:                                              ; preds = %669
  %686 = landingpad { ptr, i32 }
          cleanup
  %687 = extractvalue { ptr, i32 } %686, 0
  store ptr %687, ptr %13, align 8
  %688 = extractvalue { ptr, i32 } %686, 1
  store i32 %688, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %48) #7
  br label %689

689:                                              ; preds = %685, %681
  call void @llvm.lifetime.end.p0(i64 64, ptr %48) #7
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %47) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %718

690:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %691 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %692 = load ptr, ptr %8, align 8, !tbaa !5
  %693 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %692, i16 noundef zeroext 2)
  %694 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %691, ptr noundef nonnull align 4 dereferenceable(4) %693)
  store ptr %694, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %50) #7
  %695 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 19
  %696 = load ptr, ptr %8, align 8, !tbaa !5
  %697 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %696, i16 noundef zeroext 3)
  %698 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %695, ptr noundef nonnull align 4 dereferenceable(4) %697)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %50, ptr noundef nonnull align 8 dereferenceable(64) %698)
  %699 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %50, i32 0, i32 2
  %700 = load ptr, ptr %49, align 8, !tbaa !5
  %701 = getelementptr inbounds %"struct.ShaderAnalyzer::Reg", ptr %700, i32 0, i32 2
  %702 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %701, ptr noundef nonnull align 8 dereferenceable(49) %699)
          to label %703 unwind label %704

703:                                              ; preds = %690
  store i32 2, ptr %28, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %50) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %717

704:                                              ; preds = %690
  %705 = landingpad { ptr, i32 }
          cleanup
  %706 = extractvalue { ptr, i32 } %705, 0
  store ptr %706, ptr %13, align 8
  %707 = extractvalue { ptr, i32 } %705, 1
  store i32 %707, ptr %14, align 4
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %50) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %718

708:                                              ; preds = %5
  %709 = load i32, ptr %7, align 4, !tbaa !9
  %710 = icmp ne i32 %709, 0
  br i1 %710, label %711, label %716

711:                                              ; preds = %708
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %712 = getelementptr inbounds %class.ShaderAnalyzer, ptr %52, i32 0, i32 22
  %713 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %712, ptr noundef nonnull align 4 dereferenceable(4) %7)
  store ptr %713, ptr %51, align 8, !tbaa !5
  %714 = load ptr, ptr %51, align 8, !tbaa !5
  %715 = getelementptr inbounds %"struct.ShaderAnalyzer::Function", ptr %714, i32 0, i32 5
  store i8 1, ptr %715, align 2, !tbaa !70
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %716

716:                                              ; preds = %711, %708
  br label %717

717:                                              ; preds = %716, %703, %677, %641, %605, %580, %448, %434, %392, %291, %157, %92
  ret void

718:                                              ; preds = %704, %689, %653, %617, %581, %449, %430, %391, %293, %158, %102
  %719 = load ptr, ptr %13, align 8
  %720 = load i32, ptr %14, align 4
  %721 = insertvalue { ptr, i32 } poison, ptr %719, 0
  %722 = insertvalue { ptr, i32 } %721, i32 %720, 1
  resume { ptr, i32 } %722

723:                                              ; preds = %385
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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


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

%"struct.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 }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN14ShaderAnalyzer12toAccessBitsEN3spv12StorageClassE(i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 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 #1 align 2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer11AccessChainC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN14ShaderAnalyzer11AccessChainaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14ShaderAnalyzer11AccessChainD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 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 #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #4 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 nounwind uwtable
declare dso_local void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2), i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14ShaderAnalyzer12analyzeInstrEjRKN8libspirv8Bytecode6OpCodeENS_10AccessBitsEj(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext %3, i32 noundef %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %9 = alloca %"struct.ShaderAnalyzer::AccessChain", align 8
  %10 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %13 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %18 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %19 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %20 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %21 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %22 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %23 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %24 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %25 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %26 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  %27 = alloca %"struct.ShaderAnalyzer::Reg", align 8
  store i32 %1, ptr %6, align 4, !tbaa !5
  %28 = tail call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  switch i32 %28, label %341 [
    i32 59, label %29
    i32 61, label %52
    i32 62, label %74
    i32 65, label %142
    i32 80, label %185
    i32 81, label %202
    i32 128, label %214
    i32 130, label %214
    i32 132, label %214
    i32 170, label %214
    i32 171, label %214
    i32 172, label %214
    i32 173, label %214
    i32 174, label %214
    i32 175, label %214
    i32 176, label %214
    i32 177, label %214
    i32 178, label %214
    i32 179, label %214
    i32 129, label %275
    i32 131, label %275
    i32 133, label %275
    i32 134, label %275
    i32 135, label %275
    i32 136, label %275
    i32 137, label %275
    i32 139, label %275
    i32 141, label %275
    i32 79, label %293
    i32 142, label %311
    i32 143, label %311
    i32 144, label %311
    i32 145, label %311
    i32 146, label %311
    i32 124, label %329
  ]

29:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %30 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %31 = load i32, ptr %30, align 4, !tbaa !5
  store i32 %31, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  store i32 8, ptr %8, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %8, i64 8
  store i16 511, ptr %32, align 8, !tbaa !21
  %33 = getelementptr inbounds i8, ptr %8, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %33, i8 0, i64 24, i1 false)
  call void @_ZN14ShaderAnalyzer11AccessChainC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %scevgep = getelementptr inbounds i8, ptr %8, i64 40
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(17) %scevgep, i8 0, i64 17, i1 false)
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %35 = load i32, ptr %34, align 4, !tbaa !5
  store i32 %35, ptr %8, align 8, !tbaa !9
  store i16 0, ptr %32, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  invoke void @_ZN14ShaderAnalyzer11AccessChainC2Ej(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %31)
          to label %36 unwind label %49

36:                                               ; preds = %29
  %37 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN14ShaderAnalyzer11AccessChainaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @_ZN14ShaderAnalyzer11AccessChainD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  %38 = getelementptr inbounds i8, ptr %0, i64 6312
  %39 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %40 unwind label %47

40:                                               ; preds = %36
  %41 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN14ShaderAnalyzer3RegaSERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %39, ptr noundef nonnull align 8 dereferenceable(64) %8)
          to label %42 unwind label %47

42:                                               ; preds = %40
  %43 = load i32, ptr %8, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %0, i64 6424
  %45 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %46 unwind label %47

46:                                               ; preds = %42
  store i32 %43, ptr %45, align 8, !tbaa !23
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %.loopexit

47:                                               ; preds = %42, %40, %36
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %51

49:                                               ; preds = %29
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %51

51:                                               ; preds = %49, %47
  %.pn97 = phi { ptr, i32 } [ %48, %47 ], [ %50, %49 ]
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %346

52:                                               ; preds = %5
  %53 = getelementptr inbounds i8, ptr %0, i64 6312
  %54 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %55 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #6
  %56 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %57 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef nonnull align 4 dereferenceable(4) %56)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %10, ptr noundef nonnull align 8 dereferenceable(64) %57)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %58 = getelementptr inbounds i8, ptr %10, i64 8
  %59 = getelementptr inbounds i8, ptr %10, i64 16
  %60 = call noundef i32 @_ZN14ShaderAnalyzer22dereferenceAccessChainERKNS_11AccessChainE(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 8 dereferenceable(24) %59)
  store i32 %60, ptr %11, align 4, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %0, i64 6424
  %62 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %63 unwind label %71

63:                                               ; preds = %52
  %64 = getelementptr inbounds i8, ptr %62, i64 8
  %65 = getelementptr inbounds i8, ptr %55, i64 8
  %66 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %65, ptr noundef nonnull align 8 dereferenceable(49) %64)
          to label %67 unwind label %71

67:                                               ; preds = %63
  %68 = load i16, ptr %58, align 8, !tbaa !22
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %65, i16 noundef zeroext %68)
  %69 = call noundef zeroext i1 @_ZNK14ShaderAnalyzer3Reg14isConstOrInputEv(ptr noundef nonnull align 8 dereferenceable(64) %55)
  %70 = load i16, ptr %65, align 8, !tbaa !22
  invoke void @_ZN14ShaderAnalyzer14makeReadAccessEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %1, i32 noundef %4, i16 noundef zeroext %70)
          to label %73 unwind label %71

71:                                               ; preds = %67, %63, %52
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #6
  br label %346

73:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #6
  br label %.loopexit

74:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #6
  %75 = getelementptr inbounds i8, ptr %0, i64 6312
  %76 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 1)
  %77 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %75, ptr noundef nonnull align 4 dereferenceable(4) %76)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %12, ptr noundef nonnull align 8 dereferenceable(64) %77)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #6
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %79 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %75, ptr noundef nonnull align 4 dereferenceable(4) %78)
          to label %80 unwind label %94

80:                                               ; preds = %74
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %13, ptr noundef nonnull align 8 dereferenceable(64) %79)
          to label %81 unwind label %94

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  %82 = getelementptr inbounds i8, ptr %12, i64 8
  %83 = getelementptr inbounds i8, ptr %12, i64 16
  %84 = call noundef i32 @_ZN14ShaderAnalyzer22dereferenceAccessChainERKNS_11AccessChainE(ptr noundef nonnull align 8 dereferenceable(6596) %0, ptr noundef nonnull align 8 dereferenceable(24) %83)
  store i32 %84, ptr %14, align 4, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %0, i64 6424
  %86 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3VarESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %85, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %87 unwind label %96

87:                                               ; preds = %81
  %88 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  %89 = icmp ult i64 %88, 2
  br i1 %89, label %90, label %98

90:                                               ; preds = %87
  %91 = getelementptr inbounds i8, ptr %13, i64 8
  %92 = getelementptr inbounds i8, ptr %86, i64 8
  %93 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %92, ptr noundef nonnull align 8 dereferenceable(49) %91)
          to label %103 unwind label %96

94:                                               ; preds = %80, %74
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %141

96:                                               ; preds = %137, %117, %90, %81
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #6
  br label %141

98:                                               ; preds = %87
  %99 = getelementptr inbounds i8, ptr %86, i64 8
  %100 = getelementptr inbounds i8, ptr %86, i64 56
  store i8 0, ptr %100, align 8, !tbaa !25
  %101 = getelementptr inbounds i8, ptr %13, i64 8
  %102 = load i16, ptr %101, align 8, !tbaa !22
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %99, i16 noundef zeroext %102)
  br label %103

103:                                              ; preds = %90, %98
  %104 = load i16, ptr %82, align 8, !tbaa !22
  %105 = getelementptr inbounds i8, ptr %86, i64 8
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %105, i16 noundef zeroext %104)
  call void @_ZoRRN14ShaderAnalyzer10AccessBitsES0_(ptr noundef nonnull align 2 dereferenceable(2) %105, i16 noundef zeroext %3)
  %106 = load i32, ptr %86, align 8, !tbaa !23
  %107 = icmp eq i32 %106, 3
  br i1 %107, label %108, label %137

108:                                              ; preds = %103
  %109 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  %110 = icmp ugt i64 %109, 1
  br i1 %110, label %111, label %123

111:                                              ; preds = %108
  %112 = load i32, ptr %14, align 4, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %0, i64 16
  %114 = load i32, ptr %113, align 8, !tbaa !26
  %.not91 = icmp eq i32 %112, %114
  %115 = getelementptr inbounds i8, ptr %0, i64 20
  %116 = load i32, ptr %115, align 4
  %.not92 = icmp eq i32 %112, %116
  %or.cond = select i1 %.not91, i1 true, i1 %.not92
  br i1 %or.cond, label %123, label %117

117:                                              ; preds = %111
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef 1) #6
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %0, i64 6592
  %121 = load i32, ptr %120, align 8, !tbaa !50
  %122 = load i16, ptr %105, align 8, !tbaa !51
  invoke void @_ZN14ShaderAnalyzer26markOutputsAsThreadRelatedEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %119, i32 noundef %121, i16 noundef zeroext %122)
          to label %137 unwind label %96

123:                                              ; preds = %111, %108
  %124 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  %125 = icmp ugt i64 %124, 1
  br i1 %125, label %126, label %137

126:                                              ; preds = %123
  %127 = load i32, ptr %14, align 4, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %0, i64 20
  %129 = load i32, ptr %128, align 4, !tbaa !52
  %130 = icmp eq i32 %127, %129
  br i1 %130, label %131, label %137

131:                                              ; preds = %126
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef 1) #6
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %0, i64 6592
  %135 = load i32, ptr %134, align 8, !tbaa !50
  %136 = load i16, ptr %105, align 8, !tbaa !51
  call void @_ZN14ShaderAnalyzer24markIndexAsThreadRelatedEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %133, i32 noundef %135, i16 noundef zeroext %136)
  br label %137

137:                                              ; preds = %117, %131, %126, %123, %103
  %138 = load i32, ptr %86, align 8, !tbaa !23
  %139 = call noundef zeroext i16 @_ZN14ShaderAnalyzer12toAccessBitsEN3spv12StorageClassE(i32 noundef %138)
  invoke void @_ZN14ShaderAnalyzer15makeWriteAccessEjjNS_10AccessBitsE(ptr noundef nonnull align 8 dereferenceable(6596) %0, i32 noundef %1, i32 noundef %4, i16 noundef zeroext %139)
          to label %140 unwind label %96

140:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #6
  br label %.loopexit

141:                                              ; preds = %96, %94
  %.pn93 = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #6
  br label %346

142:                                              ; preds = %5
  %143 = getelementptr inbounds i8, ptr %0, i64 6368
  %144 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 1)
  %145 = tail call noundef nonnull align 4 dereferenceable(10) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer4TypeESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %143, ptr noundef nonnull align 4 dereferenceable(4) %144)
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %145, i64 4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !53
  %146 = getelementptr inbounds i8, ptr %0, i64 6312
  %147 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %148 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %146, ptr noundef nonnull align 4 dereferenceable(4) %147)
  %149 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %150 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %146, ptr noundef nonnull align 4 dereferenceable(4) %149)
  store i32 %.sroa.4.0.copyload, ptr %148, align 8, !tbaa !9
  %151 = getelementptr inbounds i8, ptr %148, i64 8
  store i16 0, ptr %151, align 8, !tbaa !22
  %152 = getelementptr inbounds i8, ptr %150, i64 16
  %153 = getelementptr inbounds i8, ptr %148, i64 16
  %154 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN14ShaderAnalyzer11AccessChainaSERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef nonnull align 8 dereferenceable(24) %152)
  %155 = tail call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %156 = icmp ugt i16 %155, 3
  br i1 %156, label %157, label %.loopexit

157:                                              ; preds = %142
  %158 = getelementptr inbounds i8, ptr %15, i64 8
  %159 = getelementptr inbounds i8, ptr %15, i64 56
  %160 = getelementptr inbounds i8, ptr %15, i64 40
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #6
  %161 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %162 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %146, ptr noundef nonnull align 4 dereferenceable(4) %161)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull align 8 dereferenceable(64) %162)
  %163 = load i16, ptr %158, align 8, !tbaa !22
  %164 = load i16, ptr %151, align 8, !tbaa !22
  %165 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %164, i16 noundef zeroext %163)
  store i16 %165, ptr %151, align 8, !tbaa !22
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #6
  %166 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %167 = icmp ugt i16 %166, 4
  br i1 %167, label %.peel.next, label %.loopexit

168:                                              ; preds = %176
  %lpad.loopexit112 = landingpad { ptr, i32 }
          cleanup
  br label %184

.peel.next:                                       ; preds = %157, %180
  %.086105 = phi i16 [ %181, %180 ], [ 4, %157 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #6
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext %.086105)
  %170 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %146, ptr noundef nonnull align 4 dereferenceable(4) %169)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull align 8 dereferenceable(64) %170)
  %171 = load i16, ptr %158, align 8, !tbaa !22
  %172 = load i16, ptr %151, align 8, !tbaa !22
  %173 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %172, i16 noundef zeroext %171)
  store i16 %173, ptr %151, align 8, !tbaa !22
  %174 = load i8, ptr %159, align 8, !tbaa !54, !range !55, !noundef !56
  %175 = trunc nuw i8 %174 to i1
  br i1 %175, label %176, label %177

176:                                              ; preds = %.peel.next
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef nonnull align 4 dereferenceable(4) %160)
          to label %180 unwind label %168

177:                                              ; preds = %.peel.next
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store i32 -1, ptr %16, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %178 unwind label %179

178:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %180

179:                                              ; preds = %177
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %184

180:                                              ; preds = %178, %176
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #6
  %181 = add nuw i16 %.086105, 1
  %182 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %183 = icmp ult i16 %181, %182
  br i1 %183, label %.peel.next, label %.loopexit, !llvm.loop !57

184:                                              ; preds = %179, %168
  %.pn = phi { ptr, i32 } [ %lpad.loopexit112, %168 ], [ %lpad.loopexit, %179 ]
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #6
  br label %346

185:                                              ; preds = %5
  %186 = getelementptr inbounds i8, ptr %0, i64 6312
  %187 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %188 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %186, ptr noundef nonnull align 4 dereferenceable(4) %187)
  %189 = getelementptr inbounds i8, ptr %188, i64 8
  store i16 0, ptr %189, align 8, !tbaa !22
  %190 = tail call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %191 = icmp ugt i16 %190, 3
  br i1 %191, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %185
  %192 = getelementptr inbounds i8, ptr %17, i64 8
  br label %193

193:                                              ; preds = %.lr.ph, %193
  %.087104 = phi i16 [ 3, %.lr.ph ], [ %199, %193 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #6
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext %.087104)
  %195 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %186, ptr noundef nonnull align 4 dereferenceable(4) %194)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 8 dereferenceable(64) %195)
  %196 = load i16, ptr %189, align 8, !tbaa !22
  %197 = load i16, ptr %192, align 8, !tbaa !22
  %198 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %196, i16 noundef zeroext %197)
  store i16 %198, ptr %189, align 8, !tbaa !22
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #6
  %199 = add nuw i16 %.087104, 1
  %200 = call noundef zeroext i16 @_ZNK8libspirv8Bytecode6OpCode6lengthEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %201 = icmp ult i16 %199, %200
  br i1 %201, label %193, label %.loopexit, !llvm.loop !60

202:                                              ; preds = %5
  %203 = getelementptr inbounds i8, ptr %0, i64 6312
  %204 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %205 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %203, ptr noundef nonnull align 4 dereferenceable(4) %204)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #6
  %206 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %207 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %203, ptr noundef nonnull align 4 dereferenceable(4) %206)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %18, ptr noundef nonnull align 8 dereferenceable(64) %207)
  %208 = getelementptr inbounds i8, ptr %18, i64 8
  %209 = getelementptr inbounds i8, ptr %205, i64 8
  %210 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %209, ptr noundef nonnull align 8 dereferenceable(49) %208)
          to label %211 unwind label %212

211:                                              ; preds = %202
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #6
  br label %.loopexit

212:                                              ; preds = %202
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #6
  br label %346

214:                                              ; preds = %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5
  %215 = getelementptr inbounds i8, ptr %0, i64 6312
  %216 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %217 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %215, ptr noundef nonnull align 4 dereferenceable(4) %216)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #6
  %218 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %219 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %215, ptr noundef nonnull align 4 dereferenceable(4) %218)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %19, ptr noundef nonnull align 8 dereferenceable(64) %219)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #6
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 4)
  %221 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %215, ptr noundef nonnull align 4 dereferenceable(4) %220)
          to label %222 unwind label %240

222:                                              ; preds = %214
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %20, ptr noundef nonnull align 8 dereferenceable(64) %221)
          to label %223 unwind label %240

223:                                              ; preds = %222
  %224 = getelementptr inbounds i8, ptr %19, i64 8
  %225 = load i16, ptr %224, align 8, !tbaa !22
  %226 = getelementptr inbounds i8, ptr %20, i64 8
  %227 = load i16, ptr %226, align 8, !tbaa !22
  %228 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %225, i16 noundef zeroext %227)
  %229 = getelementptr inbounds i8, ptr %217, i64 8
  store i16 %228, ptr %229, align 8, !tbaa !22
  %230 = getelementptr inbounds i8, ptr %19, i64 56
  %231 = load i8, ptr %230, align 8, !tbaa !54, !range !55, !noundef !56
  %232 = trunc nuw i8 %231 to i1
  br i1 %232, label %233, label %274

233:                                              ; preds = %223
  %234 = getelementptr inbounds i8, ptr %20, i64 56
  %235 = load i8, ptr %234, align 8, !tbaa !54, !range !55, !noundef !56
  %236 = trunc nuw i8 %235 to i1
  br i1 %236, label %237, label %274

237:                                              ; preds = %233
  %238 = getelementptr inbounds i8, ptr %217, i64 56
  store i8 1, ptr %238, align 8, !tbaa !54
  %239 = call noundef i32 @_ZNK8libspirv8Bytecode6OpCode2opEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  switch i32 %239, label %274 [
    i32 128, label %242
    i32 130, label %248
    i32 132, label %254
    i32 170, label %260
    i32 171, label %267
  ]

240:                                              ; preds = %222, %214
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #6
  br label %346

242:                                              ; preds = %237
  %243 = getelementptr inbounds i8, ptr %19, i64 40
  %244 = load i32, ptr %243, align 8, !tbaa !5
  %245 = getelementptr inbounds i8, ptr %20, i64 40
  %246 = load i32, ptr %245, align 8, !tbaa !5
  %247 = add i32 %246, %244
  br label %.sink.split

248:                                              ; preds = %237
  %249 = getelementptr inbounds i8, ptr %19, i64 40
  %250 = load i32, ptr %249, align 8, !tbaa !5
  %251 = getelementptr inbounds i8, ptr %20, i64 40
  %252 = load i32, ptr %251, align 8, !tbaa !5
  %253 = sub i32 %250, %252
  br label %.sink.split

254:                                              ; preds = %237
  %255 = getelementptr inbounds i8, ptr %19, i64 40
  %256 = load i32, ptr %255, align 8, !tbaa !5
  %257 = getelementptr inbounds i8, ptr %20, i64 40
  %258 = load i32, ptr %257, align 8, !tbaa !5
  %259 = mul i32 %258, %256
  br label %.sink.split

260:                                              ; preds = %237
  %261 = getelementptr inbounds i8, ptr %19, i64 40
  %262 = load i32, ptr %261, align 8, !tbaa !5
  %263 = getelementptr inbounds i8, ptr %20, i64 40
  %264 = load i32, ptr %263, align 8, !tbaa !5
  %265 = icmp eq i32 %262, %264
  %266 = zext i1 %265 to i32
  br label %.sink.split

267:                                              ; preds = %237
  %268 = getelementptr inbounds i8, ptr %19, i64 40
  %269 = load i32, ptr %268, align 8, !tbaa !5
  %270 = getelementptr inbounds i8, ptr %20, i64 40
  %271 = load i32, ptr %270, align 8, !tbaa !5
  %.not = icmp ne i32 %269, %271
  %272 = zext i1 %.not to i32
  br label %.sink.split

.sink.split:                                      ; preds = %267, %260, %254, %248, %242
  %.sink = phi i32 [ %247, %242 ], [ %253, %248 ], [ %259, %254 ], [ %266, %260 ], [ %272, %267 ]
  %273 = getelementptr inbounds i8, ptr %217, i64 40
  store i32 %.sink, ptr %273, align 8, !tbaa !5
  br label %274

274:                                              ; preds = %.sink.split, %237, %233, %223
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %20) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #6
  br label %.loopexit

275:                                              ; preds = %5, %5, %5, %5, %5, %5, %5, %5, %5
  %276 = getelementptr inbounds i8, ptr %0, i64 6312
  %277 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %278 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %276, ptr noundef nonnull align 4 dereferenceable(4) %277)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #6
  %279 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %280 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %276, ptr noundef nonnull align 4 dereferenceable(4) %279)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %21, ptr noundef nonnull align 8 dereferenceable(64) %280)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #6
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 4)
  %282 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %276, ptr noundef nonnull align 4 dereferenceable(4) %281)
          to label %283 unwind label %291

283:                                              ; preds = %275
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(64) %282)
          to label %284 unwind label %291

284:                                              ; preds = %283
  %285 = getelementptr inbounds i8, ptr %21, i64 8
  %286 = load i16, ptr %285, align 8, !tbaa !22
  %287 = getelementptr inbounds i8, ptr %22, i64 8
  %288 = load i16, ptr %287, align 8, !tbaa !22
  %289 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %286, i16 noundef zeroext %288)
  %290 = getelementptr inbounds i8, ptr %278, i64 8
  store i16 %289, ptr %290, align 8, !tbaa !22
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #6
  br label %.loopexit

291:                                              ; preds = %283, %275
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #6
  br label %346

293:                                              ; preds = %5
  %294 = getelementptr inbounds i8, ptr %0, i64 6312
  %295 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %296 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %294, ptr noundef nonnull align 4 dereferenceable(4) %295)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %23) #6
  %297 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %298 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %294, ptr noundef nonnull align 4 dereferenceable(4) %297)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %23, ptr noundef nonnull align 8 dereferenceable(64) %298)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %24) #6
  %299 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 4)
  %300 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %294, ptr noundef nonnull align 4 dereferenceable(4) %299)
          to label %301 unwind label %309

301:                                              ; preds = %293
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %24, ptr noundef nonnull align 8 dereferenceable(64) %300)
          to label %302 unwind label %309

302:                                              ; preds = %301
  %303 = getelementptr inbounds i8, ptr %23, i64 8
  %304 = load i16, ptr %303, align 8, !tbaa !22
  %305 = getelementptr inbounds i8, ptr %24, i64 8
  %306 = load i16, ptr %305, align 8, !tbaa !22
  %307 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %304, i16 noundef zeroext %306)
  %308 = getelementptr inbounds i8, ptr %296, i64 8
  store i16 %307, ptr %308, align 8, !tbaa !22
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #6
  br label %.loopexit

309:                                              ; preds = %301, %293
  %310 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %23) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #6
  br label %346

311:                                              ; preds = %5, %5, %5, %5, %5
  %312 = getelementptr inbounds i8, ptr %0, i64 6312
  %313 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %314 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %312, ptr noundef nonnull align 4 dereferenceable(4) %313)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #6
  %315 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %316 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %312, ptr noundef nonnull align 4 dereferenceable(4) %315)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(64) %316)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #6
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 4)
  %318 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %312, ptr noundef nonnull align 4 dereferenceable(4) %317)
          to label %319 unwind label %327

319:                                              ; preds = %311
  invoke void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %26, ptr noundef nonnull align 8 dereferenceable(64) %318)
          to label %320 unwind label %327

320:                                              ; preds = %319
  %321 = getelementptr inbounds i8, ptr %25, i64 8
  %322 = load i16, ptr %321, align 8, !tbaa !22
  %323 = getelementptr inbounds i8, ptr %26, i64 8
  %324 = load i16, ptr %323, align 8, !tbaa !22
  %325 = call noundef zeroext i16 @_ZorN14ShaderAnalyzer10AccessBitsES0_(i16 noundef zeroext %322, i16 noundef zeroext %324)
  %326 = getelementptr inbounds i8, ptr %314, i64 8
  store i16 %325, ptr %326, align 8, !tbaa !22
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %26) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #6
  br label %.loopexit

327:                                              ; preds = %319, %311
  %328 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #6
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #6
  br label %346

329:                                              ; preds = %5
  %330 = getelementptr inbounds i8, ptr %0, i64 6312
  %331 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 2)
  %332 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %330, ptr noundef nonnull align 4 dereferenceable(4) %331)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #6
  %333 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK8libspirv8Bytecode6OpCodeixEt(ptr noundef nonnull align 4 dereferenceable(4) %2, i16 noundef zeroext 3)
  %334 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer3RegESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %330, ptr noundef nonnull align 4 dereferenceable(4) %333)
  call void @_ZN14ShaderAnalyzer3RegC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(64) %27, ptr noundef nonnull align 8 dereferenceable(64) %334)
  %335 = getelementptr inbounds i8, ptr %27, i64 8
  %336 = getelementptr inbounds i8, ptr %332, i64 8
  %337 = invoke noundef nonnull align 8 dereferenceable(49) ptr @_ZN14ShaderAnalyzer5ValueaSERKS0_(ptr noundef nonnull align 8 dereferenceable(49) %336, ptr noundef nonnull align 8 dereferenceable(49) %335)
          to label %338 unwind label %339

338:                                              ; preds = %329
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %27) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #6
  br label %.loopexit

339:                                              ; preds = %329
  %340 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14ShaderAnalyzer3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %27) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #6
  br label %346

341:                                              ; preds = %5
  %.not101 = icmp eq i32 %1, 0
  br i1 %.not101, label %.loopexit, label %342

342:                                              ; preds = %341
  %343 = getelementptr inbounds i8, ptr %0, i64 6480
  %344 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt13unordered_mapIjN14ShaderAnalyzer8FunctionESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %343, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %345 = getelementptr inbounds i8, ptr %344, i64 10
  store i8 1, ptr %345, align 2, !tbaa !61
  br label %.loopexit

.loopexit:                                        ; preds = %193, %180, %157, %185, %142, %341, %342, %338, %320, %302, %284, %274, %211, %140, %73, %46
  ret void

346:                                              ; preds = %339, %327, %309, %291, %240, %212, %184, %141, %71, %51
  %.pn99 = phi { ptr, i32 } [ %340, %339 ], [ %328, %327 ], [ %310, %309 ], [ %292, %291 ], [ %241, %240 ], [ %213, %212 ], [ %.pn, %184 ], [ %.pn93, %141 ], [ %72, %71 ], [ %.pn97, %51 ]
  resume { ptr, i32 } %.pn99
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass