MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / IsMapped

Method IsMapped

source/diff/diff.cpp:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 bool IsMapped(uint32_t from) const {
102 assert(from != 0);
103 return from < id_map_.size() && id_map_[from] != 0;
104 }
105
106 bool IsMapped(const opt::Instruction* from_inst) const {
107 assert(from_inst != nullptr);

Callers 4

IsSrcMappedMethod · 0.80
IsDstMappedMethod · 0.80
MapUnmatchedIdsMethod · 0.80
MappedInstImplMethod · 0.80

Calls 3

HasResultIdMethod · 0.80
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected