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

Method AddGraph

source/opt/module.h:417–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417inline void Module::AddGraph(std::unique_ptr<Graph> g) {
418 graphs_.emplace_back(std::move(g));
419}
420
421inline void Module::SetContainsDebugInfo() { contains_debug_info_ = true; }
422

Callers 1

AddInstructionMethod · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected