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

Method MappedId

source/diff/diff.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 uint32_t MappedId(uint32_t from) const {
87 assert(from != 0);
88 return from < id_map_.size() ? id_map_[from] : 0;
89 }
90 const opt::Instruction* MappedInst(const opt::Instruction* from_inst) const {
91 assert(from_inst != nullptr);
92 assert(!from_inst->HasResultId());

Callers 3

MappedDstIdMethod · 0.80
MappedSrcIdMethod · 0.80
MappedInstImplMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected