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

Method MappedDstId

source/diff/diff.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 uint32_t MappedDstId(uint32_t src) {
152 uint32_t dst = src_to_dst_.MappedId(src);
153 assert(dst == 0 || dst_to_src_.MappedId(dst) == src);
154 return dst;
155 }
156 uint32_t MappedSrcId(uint32_t dst) {
157 uint32_t src = dst_to_src_.MappedId(dst);
158 assert(src == 0 || src_to_dst_.MappedId(src) == dst);

Callers 7

DumpIdMapMethod · 0.80
DoIdsMatchMethod · 0.80
DoIdsMatchFuzzyMethod · 0.80
MatchFunctionsMethod · 0.80
OutputMethod · 0.80

Calls 1

MappedIdMethod · 0.80

Tested by

no test coverage detected