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

Method AugmentedCFGSuccessorsFunction

source/val/function.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248Function::GetBlocksFunction Function::AugmentedCFGSuccessorsFunction() const {
249 return [this](const BasicBlock* block) {
250 auto where = augmented_successors_map_.find(block);
251 return where == augmented_successors_map_.end() ? block->successors()
252 : &(*where).second;
253 };
254}
255
256Function::GetBlocksFunction Function::AugmentedCFGPredecessorsFunction() const {
257 return [this](const BasicBlock* block) {

Callers 1

PerformCfgChecksFunction · 0.80

Calls 2

successorsMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected