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

Method AugmentedStructuralCFGSuccessorsFunction

source/val/function.cpp:264–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264Function::GetBlocksFunction Function::AugmentedStructuralCFGSuccessorsFunction()
265 const {
266 return [this](const BasicBlock* block) {
267 auto where = augmented_successors_map_.find(block);
268 return where == augmented_successors_map_.end()
269 ? block->structural_successors()
270 : &(*where).second;
271 };
272}
273
274Function::GetBlocksFunction
275Function::AugmentedStructuralCFGPredecessorsFunction() const {

Callers 1

PerformCfgChecksFunction · 0.80

Calls 2

structural_successorsMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected