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

Method MatchMemoryModel

source/diff/diff.cpp:2164–2168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2162 });
2163}
2164void Differ::MatchMemoryModel() {
2165 // Always match the memory model instructions, there is always a single one of
2166 // it.
2167 id_map_.MapInsts(src_->GetMemoryModel(), dst_->GetMemoryModel());
2168}
2169
2170void Differ::MatchEntryPointIds() {
2171 // Match OpEntryPoint ids (at index 1) by ExecutionModel (at index 0) and

Callers 1

DiffFunction · 0.80

Calls 2

MapInstsMethod · 0.45
GetMemoryModelMethod · 0.45

Tested by

no test coverage detected